3

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

  • possible duplicate of [Cookie blocked/not saved in IFRAME in Internet Explorer](http://stackoverflow.com/questions/389456/cookie-blocked-not-saved-in-iframe-in-internet-explorer) – GitaarLAB Nov 27 '14 at 19:30

2 Answers2

1

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"');
Inam Abbas
  • 1,480
  • 14
  • 28