This was a very frustrating problem for us in our app Jobs (http://apps.facebook.com/getthejob).
The problem was that in IE, if a parent frame has a different domain than the child page, the session data (stored in the Session object) is not preserved as a security precaution.
Anyway, if you have this problem, the answer is available on Microsoft's website.
Simply put, in your ASP.NET page codebehind, add the following code:
This will add the right headers to every page.
The problem was that in IE, if a parent frame has a different domain than the child page, the session data (stored in the Session object) is not preserved as a security precaution.
Anyway, if you have this problem, the answer is available on Microsoft's website.
Simply put, in your ASP.NET page codebehind, add the following code:
protected override void OnPreRender(EventArgs e)
{
Response.AppendHeader("P3P", "CP=\"CAO PSA OUR\"");
base.OnPreRender(e);
}
This will add the right headers to every page.
Comments