![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Web
ihours
人无远虑 必有近忧
展开
-
IE下访问iframe中页面出现SCRIPT5: 拒绝访问
问题描述在同一域下,因在父页面上设置了document.domain,而导致无法正常和Iframe(也是同域下)进行通信,IE下抛出的错误是:SCRIPT5:拒绝访问,导致无法操作iframe中的内容。解决方法1、不要设置父页面的domain(如果可以)2、让双方均设置同样的domain原创 2015-01-16 17:25:02 · 5354 阅读 · 0 评论 -
禁用web页面的缓存
1、在Asp页面首部加入以下为引用的内容: Response.Buffer = True; Response.ExpiresAbsolute = Now() - 1; Response.Expires = 0; Response.CacheControl = "no-cache"; Response.AddHeader("Pragma"原创 2015-05-19 22:22:55 · 423 阅读 · 0 评论