使asp页面不缓存
2006-05-03 11:34
288 查看
将如下代码加入到asp页面的开头部分:
<%response.expires = 0
response.expiresabsolute = now() - 1
response.addHeader "pragma","no-cache"
response.addHeader "cache-control","private"
Response.cachecontrol = "no-cache"
%>
<%response.expires = 0
response.expiresabsolute = now() - 1
response.addHeader "pragma","no-cache"
response.addHeader "cache-control","private"
Response.cachecontrol = "no-cache"
%>
相关文章推荐
- ASP.NET页面如何建立静态缓存
- asp.net页面缓存技术
- asp.net页面缓存技术
- asp.net 使用驻留在页面中的Cache缓存常用可定时更新的数据
- 缓存一、Asp.net页面缓存
- asp.net清除页面缓存,防止页面回退重复提交数据及防止同一用户同时登录
- ASP.net Substitution 页面缓存而部分不缓存的实现方法
- ASP.NET清除页面缓存
- asp.net 2.0 缓存(页面输出缓存)
- ASP.NET-页面缓存
- (转) ASP.NET页面缓存
- ASP.NET清除页面缓存
- ASP.NET 2.0 页面输出缓存
- ASP.Net 页面缓存片段使用技巧
- ASP.NET 2.0中的页面输出缓存
- ASP.NET 2.0中的页面输出缓存
- asp.net页面输出缓存
- ASP.NET页面和控件缓存
- ASP.NET清除页面缓存
- asp.net页面SqlCacheDependency缓存实例