Persisting Session Variables Within An Iframe on IE

Posted By : todd sharp Posted At : June 13, 2008 1:35 PM Posted In: ColdFusion

5

Wow, this one really boggles my feeble mind. Found an issue where session variables do not persist when browsing in an IFRAME on IE. I Googled it and amazingly found the solution here.

Basically you just add:

<cfheader name="P3P" value='CP="CAO PSA OUR"'>

And they magically work. Anyone know what the hell that does?

Comments (5)

todd sharp's Gravatar Wow...that's some detailed explanations! Suffice it to say it "just works", or is there anything to be cautious of?

David CL's Gravatar By including this http header on your pages, you're making a legal claim about your site's privacy policy.

Does your site collect any personally identifiable information? Is that information shared with any third parties?

If so, you should definitely look into this further and make sure the http header you're sending accurately reflects your site's data practices.

Scott's Gravatar This saved me many hours of troubleshooting. Many Thanks!