Third party cookies not saved in IE, problem resolved

There was a problem when you logged into the admin panel with IE using default Privacy settings. Because the site is running in a frame under a different site, IE would not save your SESSION cookie, so you would be logged out on the next click.

IE’s default Privacy settings states: Blocks third-party cookies that do not have a compact privacy policy.

The solution was found, thanks to my co-worker, who found the string for us to use in lightening speed. We add this header to our HTTP response:

Code:
header(“P3P: CP=\”IDC DSP COR LAW CUR ADM DEV TAI PSA PSD IVA IVD HIS OUR SAM PUB LEG UNI COM NAV STA\””);

and presto, like magic, IE will now save our cookies. Problem resolved.

Each of the 3 letter combos stand for something, I don’t know what just yet, but I am pretty sure IE doesn’t care… it just wants to know that you have a compact policy (CP), it doesn’t care what it is….

so, put in anything you want, my initials, for example:

Code:
header(“P3P: CP=\”DBA\””);

works just fine

Comments are closed.