把一下代码加入到页面PageLoad中即可,其实写在前台HTML <header>标签内也可

Response.Expires = 0;
Response.AddHeader(
"pragma", "no-cache");
Response.AddHeader(
"cache-control", "private");
Response.CacheControl
= "no-cache";

 

相关文章:

  • 2021-08-05
  • 2022-12-23
  • 2022-01-30
  • 2021-10-20
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-11-29
  • 2022-01-13
  • 2022-02-06
  • 2022-12-23
  • 2022-12-23
  • 2021-09-08
相关资源
相似解决方案