1、在Asp页面首部加入
Response.Buffer = True
Response.ExpiresAbsolute = Now() - 1
Response.Expires = 0
Response.CacheControl = "no-cache"
Response.AddHeader "Pragma", "No-Cache"

2、在HtML代码中加入
<HEAD>
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="0">
</HEAD>

3、在重新调用原页面的时候在给页面传一个参数
Href="****.asp?random()"

4、
<body onLoad="javascript:document.yourFormName.reset()"> 5、Content.Response.Cache.SetCacheability(HttpCaxheability,NoCache);

相关文章:

  • 2021-08-08
  • 2021-07-14
  • 2022-01-11
猜你喜欢
  • 2022-02-07
  • 2021-06-04
  • 2022-02-04
  • 2021-12-01
  • 2022-02-08
相关资源
相似解决方案