我有一个奇怪的问题 ie8 ,实际上我的朋友在测试网站的情况下确实导致我没有任何问题,同时从IE8浏览网站时。调试网站我看到,当他浏览页面时,PHP会话内容在每个页面重新加载时清除。

所以我认为它与会话饼干有什么关系,但我无法弄清楚什么。我在每页上添加了这个 p3p 政策,希望它有助于:

header('P3P: CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"');
.

我让他测试该网站,现在正在工作。每个页面重新加载时,会议未清除。问题是为什么网站在同一浏览器中为我工作?那个P3P在他的浏览器上做了什么?我知道 facebook 尚未实施p3p政策,我不明白为什么我应该这样做,因为标签非常棘手,Facebook可以用它。

有帮助吗?

解决方案

The P3P policy is required for IE to set cookies within an IFRAME if the document within it is served from a different domain.

If you didn't know this, then how did you know to try it?

It may be working for you if you have lower security setting than your friend.

http://www.windley.com/archives/2008/08/p3p_and_internet_explorer.shtml

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top