IE 7 , IE 6 and safari IFRAME Probelm ! Use P3P Headers
If you are using iframe in your web application and in iframe you call another domain - session/cookies will not work for your IE 6/IE 7 .
This is very common setting for IE6/IE7 with privacy set to medium.if cookies/session does not work.Session state turns out and useless for your website under the IE 6/IE 7.More infomation about Privacy in IE 6 Visite : http://msdn2.microsoft.com/en-us/library/ms537343.aspx
2 domains (domain1 and domain2), On domain1 I have a html page that calls domain2 using iframe
Domain2 (accessed by using a subdomain like a.b.domain2.com) sets 2 session cookie and onunload of the page there is a javascript that updates those cookies with a new values.
The Solution
you need to add P3P header to the your web application inside iframe and the your iframe is working fine.
ASP.NET
Add these values in global.asax
protected void Application_BeginRequest(Object sender, EventArgs e)
{
//
HttpContext.Current.Response.AddHeader(”p3p”, “CP=\”CAO PSA OUR\”");
}
ASP
<% Response.AddHeader “P3P”,”CP=”"CAO PSA OUR”"” %>
Tag: IE 6, IE 7 Safari, Firefox , P3P HTTP headers ,Facebook Application, PHP,ASP,ASP.net,