IE iframe 跨域问题的解决办法
来源:互联网 发布:linux新建文件命令 编辑:程序博客网 时间:2024/04/30 15:56
I got a call today about one of my applications not running correctly from inside an iFrame. I tried it out and it looked like everything worked great in Safari and Firefox but not IE6 or IE7. It took me a few failed attempts to fix it before I decided it must be a session problem. After firing up a packet sniffer it became obvious the cookie with the session ID was not being passed.
The problem lies with a W3C standard called Platform for Privacy Preferences or P3P for short. You can read all about the boring stuff via the link or else just install the P3P Compact Policy header below. This will allow Internet Explorer to accept your third-party cookie. You will need to send the header on every page that sets a cookie.
PHP:
ASP.NET:
Django:
JSP:
- IE iframe 跨域问题的解决办法
- IE中iframe的跨域问题
- 在IE浏览器中iframe跨域访问cookie/session丢失的解决办法
- iframe跨域与session失效问题的解决办法
- IE浏览器iframe跨域丢失Session问题
- IE中iframe跨域丢失Session问题 p3p
- IE中iframe跨域丢失Session问题
- IE中iframe跨域丢失Session问题 p3p
- IE中iframe跨域丢失Session问题(续 p3p)
- 用P3P header解决IE下iframe跨域访问时候session丢失的问题
- IE下iframe第三方网页跨域不能写cookie问题的解决方法
- iFrame跨域解决办法
- iFrame跨域解决办法
- iFrame跨域解决办法
- iFrame跨域解决办法
- IE问题的终极解决办法
- iframe的跨域问题
- PHP关于IE的iframe跨域导致session丢失
- iOS中assign、copy 、retain等关键字
- 求12的个数
- mesh和wifi
- Java解析JavaScript数据
- Java中对Map(HashMap,TreeMap,Hashtable,LinkedHashMap等)的排序
- IE iframe 跨域问题的解决办法
- IOS学习笔记29—提示框第三方库之MBProgressHUD
- URAL 1117 - Hierarchy(递推或递归)
- AIX sendmail 通过其他邮箱发送邮件
- struts2中常用的常量介绍
- java千万级别数据生成文件思路和优化
- SRM 586 DIV2 500
- iOS 扁平化 UI 库 FlatUIKit
- struts2文件上传大小