【问题标题】:IE8 block iframe cookiesIE8 阻止 iframe cookie
【发布时间】:2013-09-18 13:33:03
【问题描述】:

我有 iframe

<div id="pool"><iframe src="https://go.eorder.eu/account/index/language/lt"/>
</div>

使用所有浏览器我都可以登录该页面,但 IE8 无法正常工作,IE 阻止了 cookie。

我尝试什么:我试试这个:

<div id="pool"><iframe src="https://go.eorder.eu/account/index/language/lt"/>

<?php header('P3P:CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"'); ?>
</div>  

但还是不行。

【问题讨论】:

  • 你能自行关闭 iframe 标签吗?你不应该有一个吗?
  • 好的,我关闭但仍然无法正常工作

标签: html internet-explorer iframe


【解决方案1】:

我用的是这个,和你的例子有点不同。

header('P3P: CP="NOI ADM DEV COM NAV OUR STP"');

【讨论】:

【解决方案2】:

P3P 标头需要来自go.eorder.eu 服务器。在外框上发送它不会帮助浏览器接受它。

更多详情请见http://blogs.msdn.com/b/ieinternals/archive/2013/09/17/simple-introduction-to-p3p-cookie-blocking-frame.aspx

【讨论】:

    猜你喜欢
    • 2013-07-19
    • 1970-01-01
    • 2020-04-30
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-04-25
    • 2020-12-09
    • 2020-12-16
    相关资源
    最近更新 更多