ASP.NET
Response.Cache.SetCacheability(HttpCacheability.NoCache);
ASP:[在.net下也行]
Response.Expires 
= 0;
Response.Buffer 
= true;
Response.ExpiresAbsolute 
= DateTime.Now.AddSeconds(-1);
Response.AddHeader(
"pragma""no-cache");
Response.CacheControl 
= "no-cache";

//也就是通过禁止缓存,来实现重新刷新,这样页面即使在遇到back,也会自动刷新

 

 

相关文章:

  • 2022-01-11
  • 2021-09-13
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-22
  • 2022-01-03
  • 2022-12-23
猜你喜欢
  • 2021-07-17
  • 2021-09-10
  • 2021-05-19
  • 2022-12-23
  • 2021-10-23
  • 2021-06-24
相关资源
相似解决方案