随笔-656  评论-163  文章-3  trackbacks-5

在ASP.NET 2.0下禁用页面缓存

Response.Cache.SetCacheability(HttpCacheability.NoCache);
 Response.Cache.SetNoStore(); 

<META http-equiv=Pragma content=no-cache>
<META http-equiv=Cache-Control content=no-cache>
<META http-equiv=Expires content=0>
posted on 2009-05-05 15:00 草原和大树 阅读(339) 评论(0) 编辑 收藏