3
votes

For the last few weeks I'm trying to locate a problem with session cookie saving in IE. Our application is running inside an iFrame, so the cookies are considered 3rd party.

I'm aware of the P3P header required by IE 6 and 7, but for some reason I still see many IE6/7 users which never save cookies. I'm also unable to reproduce it on our own machines.

I tried the following P3P header: CP=\"IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT\"

Does anyone knows the exact requirements of IE6/7 for saving 3rd party cookies? I couldn't find it anywhere.

Note: I know that this topic has been disscussed many times, and I've read almost any thread on the subject.

Thanks, Shlomi Fruchter

2

2 Answers

1
votes

Use this one it is working perfect in IE and all other browsers

header('P3P: CP="IDC DSP COR CURa ADMa OUR IND PHY ONL COM STA"');