【www.gdgbn.com--浏览器】

Response.Expires = -1是什么意思啊

Response.expires 该属性指定了在浏览器上缓冲存储的页,距过期还有多少时间

1、在Asp页面首部加入Response.Buffer = True Response.ExpiresAbsolute = Now() - 1 Response.Expires = 0 Response.CacheControl = "no-cache" Response.AddHeader "Pragma", "No-Cache"
2、在HtML代码中加入
3、在重新调用原页面的时候在给页面传一个参数Href="****.asp?random()"
4、
5、Content.Response.Cache.SetCacheability(HttpCaxheability,NoCache);

本文来源:http://www.gdgbn.com/bangongshuma/11846/