通过本文主要向大家介绍了asp禁止缓存,asp 清除缓存,asp不缓存,asp 缓存,asp 后退等相关知识,希望对您有所帮助,也希望大家支持linkedu.com www.linkedu.com
像一般网上很多禁止缓存的代码,有时并不可靠,这时你只要在操作的页面加上就可以了,在网页的里指定要定向的新页,再点后退,看是不是不会再退到刚才的操作页面了,实际上已经把这个历史给删除了
''''''''''''''''''''''''''''''''''''''''ASP 脚本
Response.Buffer = True
Response.ExpiresAbsolute = Now() - 1
Response.Expires = 0
Response.CacheControl = "no-cache"
////////////////////////////////////////ASP.NET 脚本
4、header(”Cache-Control: no-cache, must-revalidate”); </div>
''''''''''''''''''''''''''''''''''''''''ASP 脚本
Response.Buffer = True
Response.ExpiresAbsolute = Now() - 1
Response.Expires = 0
Response.CacheControl = "no-cache"
////////////////////////////////////////ASP.NET 脚本
4、header(”Cache-Control: no-cache, must-revalidate”); </div>