在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 >

 

你可能感兴趣的:(asp.net)