惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

T
The Blog of Author Tim Ferriss
S
Securelist
D
Docker
The Register - Security
The Register - Security
GbyAI
GbyAI
Recorded Future
Recorded Future
Engineering at Meta
Engineering at Meta
Stack Overflow Blog
Stack Overflow Blog
云风的 BLOG
云风的 BLOG
P
Proofpoint News Feed
罗磊的独立博客
博客园 - 【当耐特】
F
Full Disclosure
WordPress大学
WordPress大学
腾讯CDC
小众软件
小众软件
大猫的无限游戏
大猫的无限游戏
D
DataBreaches.Net
SecWiki News
SecWiki News
L
Lohrmann on Cybersecurity
I
InfoQ
MyScale Blog
MyScale Blog
量子位
Cyberwarzone
Cyberwarzone
博客园 - 三生石上(FineUI控件)
The Hacker News
The Hacker News
F
Fortinet All Blogs
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Jina AI
Jina AI
博客园_首页
H
Help Net Security
K
Kaspersky official blog
酷 壳 – CoolShell
酷 壳 – CoolShell
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
www.infosecurity-magazine.com
www.infosecurity-magazine.com
Webroot Blog
Webroot Blog
Blog — PlanetScale
Blog — PlanetScale
V
Vulnerabilities – Threatpost
Y
Y Combinator Blog
The Cloudflare Blog
P
Proofpoint News Feed
V
Visual Studio Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
T
Tailwind CSS Blog
爱范儿
爱范儿
P
Privacy International News Feed
Security Archives - TechRepublic
Security Archives - TechRepublic
The GitHub Blog
The GitHub Blog
C
Cybersecurity and Infrastructure Security Agency CISA
B
Blog RSS Feed

博客园 - 蔡春升

Oracle 取余取整函数 生活永远这样,在自己放松自己的时候,会让你摔个跟头,忍耐生老练,老练生盼望 js 代码分析工具 QR code 二维条码 再读王永庆卖米的故事 彼得林奇 投资方法 如何访问google docs js 获取request的方法 社会化网络观后感 mysql ExecuteReader问题 互联网广告形式 概念过滤 用PDCA培养数据收集整理分析能力 韩寒:请放过我们的食油 精准化技术在互动营销中的应用 oracle 统计某个表的列数 IComparer<T> 安装WAMP怎么测试shopex 常见的WAMP集成环境
IE里Iframe的Cookie问题解决办法总结(转)
蔡春升 · 2011-06-30 · via 博客园 - 蔡春升

ie   在对iframe里面的页面写Cookie的时候有一些安全限制,导致读取Cookie不成功.

只需要设置 P3P HTTP Header

通过在代码上加Response.AddHeader("P3P", "CP=CAO PSA OUR")或者在Window服务中将ASP.NET State Service 启动。

也可以在Application_BeginRequest中设置全局的p3p header

protected void Application_BeginRequest(Object sender, EventArgs e)

 {

  HttpContext.Current.Response.AddHeader("p3p","CP=\"CAO PSA OUR\"");

}

参考:

http://blog.sina.com.cn/s/blog_4dd475390100lyin.html