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

来源:http://www.study-code.com/dotnet/aspnet/67498.htm

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 @ 2008-11-04 16:08  KK in cnblog  阅读(134)  评论(0编辑  收藏  举报