Facebook,IE和P3P [英] Facebook, IE and P3P

查看:167
本文介绍了Facebook,IE和P3P的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在过去的几个星期里,我试图在IE中找到会话cookie保存的问题。我们的应用程序正在iFrame中运行,所以cookie被认为是第三方。



我知道IE 6和7所需的P3P头,但由于某种原因我仍然看到许多IE6 / 7用户从来没有保存cookies。我也无法在自己的机器上重现它。



我尝试了以下P3P头文件:
CP = \IDC DSP COR ADM DEVI TAIi PSA PSD IVAi IVDi CONI是我们的IND CNT \



有谁知道IE6 / 7保存第三方Cookie的确切要求?我不能在任何地方找到它。



注意:我知道这个主题已经被讨论了很多次,我已经读了几乎任何线程的主题。 p>

谢谢,
Shlomi Fruchter

解决方案

在IE和所有其他浏览器中工作完美

 标题('P3P:CP =IDC DSP COR CURA ADMa OUR IND PHY ONL COM STA'); 


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

解决方案

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"');

这篇关于Facebook,IE和P3P的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆