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

推荐订阅源

T
Tor Project blog
博客园 - 聂微东
Microsoft Azure Blog
Microsoft Azure Blog
博客园 - 【当耐特】
G
Google Developers Blog
J
Java Code Geeks
The Cloudflare Blog
Attack and Defense Labs
Attack and Defense Labs
宝玉的分享
宝玉的分享
Last Week in AI
Last Week in AI
Cisco Talos Blog
Cisco Talos Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
I
Intezer
Jina AI
Jina AI
T
Tenable Blog
P
Palo Alto Networks Blog
Project Zero
Project Zero
D
DataBreaches.Net
Hugging Face - Blog
Hugging Face - Blog
The Hacker News
The Hacker News
F
Full Disclosure
Cloudbric
Cloudbric
量子位
H
Heimdal Security Blog
K
Kaspersky official blog
有赞技术团队
有赞技术团队
罗磊的独立博客
V
Vulnerabilities – Threatpost
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
阮一峰的网络日志
阮一峰的网络日志
Vercel News
Vercel News
Recent Announcements
Recent Announcements
WordPress大学
WordPress大学
GbyAI
GbyAI
S
SegmentFault 最新的问题
M
MIT News - Artificial intelligence
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
I
InfoQ
Recorded Future
Recorded Future
Security Archives - TechRepublic
Security Archives - TechRepublic
AI
AI
Webroot Blog
Webroot Blog
C
CXSECURITY Database RSS Feed - CXSecurity.com
爱范儿
爱范儿
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
T
The Exploit Database - CXSecurity.com
Apple Machine Learning Research
Apple Machine Learning Research
C
Cybersecurity and Infrastructure Security Agency CISA
H
Hacker News: Front Page
Latest news
Latest news

博客园 - David

最近比较烦 网络安全管理---三分技术加上七分管理 DataGrid点击删除按钮弹出确认对话框一个好办法 asp.net常用函数 Container.DataItem几种方式. 再贴一个菜单的例子 菜单或浮动窗口被Select等对象遮盖的解决方案 对URL中的参数验证,防止用户恶意改变差数值。 常见木马端口 超时时间已到。在操作完成之前超时时间已过 令人苦笑的诺顿防火墙 IIS5 中内部错误解决方法 正则表达式学习 公司文件服务器管理,让用户快速找到需要的文件。 域名相关知识 Asp.net上传文件限制,在大于5M的时候出现DNS解析错误,解决方法。 字节换算关系 Sql2000中DateName的使用来获取年和月。 对下拉控件的绑定
使用缓存时候,发现Page_load只能运行一次的解决方法。
David · 2005-01-18 · via 博客园 - David

在Page_load里面加入一下语句。

    Response.Cache.SetNoServerCaching();
//显式拒绝在源服务器上缓存文档。设置后,将完全处理对文档的所有请求。调用此方法后,无法再为当前响应重新启用缓存。
   Response.Cache.SetCacheability(System.Web.HttpCacheability.NoCache);
   Response.Cache.SetNoStore();