How your application works in iframe: facebook tab,
for internet explorer
work correctly, you must set the P3P
policy settings:
for php: <?php header("p3p: CP=\"ALL DSP COR PSAa PSDa OUR NOR ONL UNI COM NAV\"");?>
for asp.net (in global.asax):
protected void Application_BeginRequest(Object sender, EventArgs e) { HttpContext.Current.Response.AddHeader("p3p", "CP=\"CAO PSA OUR\""); }
otherwise in Internet Explorer you will not be able to access the cookie
after applying P3P
, your response header is as follows:
Response Headers Cache-Control no-cache Content-Type text/html; charset=utf-8 Server Microsoft-IIS/7.0 P3P CP="CAO PSA OUR" ...
source share