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

推荐订阅源

GbyAI
GbyAI
J
Java Code Geeks
雷峰网
雷峰网
WordPress大学
WordPress大学
宝玉的分享
宝玉的分享
云风的 BLOG
云风的 BLOG
V
Visual Studio Blog
V
Vulnerabilities – Threatpost
S
Securelist
The Hacker News
The Hacker News
The Register - Security
The Register - Security
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Help Net Security
Help Net Security
G
Google Developers Blog
Hugging Face - Blog
Hugging Face - Blog
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
M
MIT News - Artificial intelligence
AI
AI
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
The GitHub Blog
The GitHub Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Schneier on Security
Schneier on Security
N
Netflix TechBlog - Medium
T
The Blog of Author Tim Ferriss
Google DeepMind News
Google DeepMind News
Hacker News - Newest:
Hacker News - Newest: "LLM"
H
Hacker News: Front Page
博客园 - 司徒正美
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
B
Blog
Microsoft Azure Blog
Microsoft Azure Blog
大猫的无限游戏
大猫的无限游戏
Security Latest
Security Latest
Engineering at Meta
Engineering at Meta
N
News and Events Feed by Topic
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
酷 壳 – CoolShell
酷 壳 – CoolShell
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
T
Threat Research - Cisco Blogs
U
Unit 42
V
V2EX
V2EX - 技术
V2EX - 技术
L
LINUX DO - 最新话题
aimingoo的专栏
aimingoo的专栏
Microsoft Security Blog
Microsoft Security Blog
Recorded Future
Recorded Future
P
Privacy & Cybersecurity Law Blog
美团技术团队
小众软件
小众软件
F
Fortinet All Blogs

博客园 - L.Net

sql server不存在或拒绝访问【转】 更新Oracle中的long字段 Ora-28000 the account is locked windows2003与文件共享有关的几个进程 [转]“您试图从目录中执行CGI、ISAPI 或其他可执行程序...” 博文阅读密码验证 - 博客园 博文阅读密码验证 - 博客园 【转】RDLC使用经验 Windows XP .net3.5 环境搭建 November Report Viewer工具栏显示英文 (转)Reference Equals,==,Equals sql declare声明变量 windows2003计划任务不能启动,"指定的错误是:0x80070005: 拒绝访问" 不可恢复的生成错误 每天知道多一点(二) 还是得继续努力 每天知道多一点--[转]静态构造函数 每天知道多一点
showModalDialog数据缓存问题 - L.Net - 博客园
L.Net · 2009-03-07 · via 博客园 - L.Net

  很长时间没有记录博客了,记录最近遇到的问题。

  在使用showModalDialog弹出窗口时,显示的数据是上次修改前的数据,这是因为默认情况下页面保存了缓存,所以显示的数据并不是修改后的情况。如果要显示最新的数据需要在页面中进行设置,取消缓存。

在showModalDialog的页面的Head标签内增加如下代码:

<meta http-equiv="pragma" content="no-cache">
这样页面就不会被缓存。从而保证了在对数据进行修改后,再次打开页面后显示最新的数据。

HTML方面
<meta http-equiv="pragram" content="no-cache">
禁止浏览器从本地缓存中调阅页面。
网页不保存在缓存中,每次访问都刷新页面。
<meta http-equiv="cache-control" content="no-cache, must-revalidate">
同上面意思差不多,必须重新加载页面
<meta http-equiv="expires" content="0">
网页在缓存中的过期时间为0,一旦网页过期,必须从服务器上重新订阅。

.NET方面
Response.Expires = -1;