CP="CAO PSA OUR" 用P3P header解决iframe跨域访问cookie
2018-03-07 10:37
736 查看
短信模块以iframe方式嵌入系统,系统登录时,短信登录失败,这种情况只在win7下IE出现,win10未出现。
原因:IE禁止iframe跨域访问cookie
解决方案:
在短信登录时,进行如下设置
getResponse().setHeader("P3P", "CP=CAO PSA OUR");
延伸参考 http://blog.unvs.cn/archives/p3p-header-cookie-iframe.html
原因:IE禁止iframe跨域访问cookie
解决方案:
在短信登录时,进行如下设置
getResponse().setHeader("P3P", "CP=CAO PSA OUR");
延伸参考 http://blog.unvs.cn/archives/p3p-header-cookie-iframe.html
相关文章推荐
- CP="CAO PSA OUR" 用P3P header解决iframe跨域访问cookie
- CP="CAO PSA OUR" 用P3P header解决iframe跨域访问cookie
- CP="CAO PSA OUR" 用P3P header解决iframe跨域访问cookie
- CP="CAO PSA OUR" 用P3P header解决iframe跨域访问cookie
- 用P3P header解决iframe跨域访问cookie/session
- PHP的header("P3P: CP=CURa……")解决Cookie跨域问题
- 用P3P header解决iframe跨域访问cookie
- 用P3P header解决iframe跨域访问cookie
- 用P3P header解决iframe跨域访问cookie
- 用P3P header解决iframe跨域访问cookie
- 用P3P header解决iframe跨域访问cookie
- 用P3P header解决iframe跨域访问cookie/session
- 用P3P header解决iframe跨域访问cookie
- header('P3P: CP="CAO PSA OUR"'); session_start();
- 用P3P header解决iframe跨域访问cookie(转) Iframe session失效
- 用P3P header解决iframe跨域访问cookie(转)
- 用P3P header解决iframe跨域访问cookie(转载)
- 用P3P header解决iframe跨域访问cookie
- 写入与读取第三方的 cookie - P3P: CP="CAO PSA OUR"
- 用P3P header解决iframe跨域访问cookie/session