bluedusk 发表于 2013-2-7 20:20:59

Html+Asp+Php+Jsp:4种语言禁止浏览器缓存页面的方法

HTTP:
<meta?http-equiv="pragma"?content="no-cache">
<meta?http-equiv="cache-control"?content="no-cache,?must-revalidate">
<meta?http-equiv="expires"?content="wed,?26?feb?1997?08:21:57?gmt">
<meta?http-equiv="expires"?content="0">

ASP
response.expires=0
response.addHeader("pragma","no-cache")?
response.addHeader("Cache-Control" 阅读全文
类别:Java Technology?查看评论
页: [1]
查看完整版本: Html+Asp+Php+Jsp:4种语言禁止浏览器缓存页面的方法