Home >Backend Development >PHP Tutorial >PHP Jsonp cookie跨域 ie浏览器有关问题

PHP Jsonp cookie跨域 ie浏览器有关问题

WBOY
WBOYOriginal
2016-06-13 11:26:27813browse

PHP Jsonp cookie跨域 ie浏览器问题
遇到这个问题好久了,在firefox,chrome下可以,就是IE下就跨域传不了cookie,今天终于解决了,P3P协议, 在php代码里加

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

祝贺。。。。。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn