PHP会话无法处理iframe src页面

时间:2020-12-25 15:13:18

I am working on website which would be open in i frame on various blog and 3rd party site. Everything is working fine except in safari. Our session is not maintain in safari. I have tried following things.

我正在网站上工作,该网站将在各种博客和第三方网站的i框架中打开。一切都很好,除了野生动物园。我们的会议不是在野生动物园保持。我试过以下事情。

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

    添加标题标题('P3P:CP =“IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT”');

  • added in .htaccess Header set P3P "policyref=\"/w3c/p3p.xml\", CP=\"NOI DSP COR NID CUR ADM DEV OUR BUS\""

    在.htaccess中添加了标题集P3P“policyref = \”/ w3c / p3p.xml \“,CP = \”NOI DSP COR NID CUR ADM DEV OUR BUS \“”

Can you please help/suggest something.

你能帮忙/建议一下吗?

1 个解决方案

#1


Safari disable third party cookies by default. Try to enable them and see if this works. This is a security issue; a lot of browsers disable 3rd party cookie by default.

Safari默认禁用第三方cookie。尝试启用它们,看看是否有效。这是一个安全问题;许多浏览器默认禁用第三方cookie。

#1


Safari disable third party cookies by default. Try to enable them and see if this works. This is a security issue; a lot of browsers disable 3rd party cookie by default.

Safari默认禁用第三方cookie。尝试启用它们,看看是否有效。这是一个安全问题;许多浏览器默认禁用第三方cookie。