I have a web application which is PHP Frameset , with left frame(menu) and right frame (content).
2 week ago,my boss request me add a menu item on left frame and hyperlink to another asp.net page on right frame. using GET to login in the asp.net web application.
for example
<a href="login.aspx?src=php&action=login&username=john&password=123456">Menu Item</a>
I using Firebug and SQL Server Profiler to monitoring the activity.
at very first, the login.aspx have success query from database and add the login info to ASP.NET Session and response.redirect to main.aspx.
But after redirect to main.aspx, the session will lost.
I have search over on Google, somebody said that the problem is cause because ASP.net cannot be embed into frame, but none of them have solution.
So, anybody know how to preserve the Session?
Adding a P3P compact policy header to the child content should work
Here is a simple, compact policy that should work (Global.asax):
References