IE 7: Getting sessions and cookies to work in a site loaded in a frameset

This issue turned up at work a little while ago and has to do with Internet Explorer 7 blocking sessions and cookies from an external site (with a different domain name) that is loaded within a frameset.

Although I was not actually involved in this particular part of the development or the subsequent buggering around for a fix, one was provided to us by my colleague Fred who has blogged about this issue.

The fix is as follows:

header ('P3P: CP="ALL ADM DEV PSAi COM OUR OTRo STP IND ONL"');

Apparently this is only an issue in IE7. Weird huh?

Comments (0)
+ –