IE隐私报告,阻止iframe中的cookie

时间:2012-11-20 13:34:25

标签: php internet-explorer iframe cookies

我在拥有登录表单的网站中有一个iframe。在IE8中,我无法登录该页面,因为IE阻止了我的cookie。我找到了一个php解决方案:<?php header(‘P3P:CP=”IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT”‘); ?>但是我不知道在iframe或之前/之后放置此代码的位置?

1 个答案:

答案 0 :(得分:0)

将其放入iframe或.htaccess文件中。 另见:Cookie blocked/not saved in IFRAME in Internet Explorer