I have a website where users log in at http://example.com.
I have an iframe that embeds pages from example.com on http://mysite.com.
IE7 Won’t retain the cookie (i.e. it keeps asking me to log in in the iframe)!
1. Have your IE7 users set Internet Options >> Privacy >> Advanced >> Check “Override Automatic Cookie Handling” and “Always allow session cookies”
This is not so good because it is inconvenient most times to have all of your users make this change.
session_start(); // start the session header('P3P: CP=\"IDC DSP COR CURa ADMa OUR IND PHY ONL COM STA\"');
For more on P3P see:
For more on the IE7 Bug (or rather annoyance!!) see: