在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-10-18 11:59  KK in cnblog  阅读(170)  评论(0编辑  收藏  举报