<%
Response.Buffer = True
Response.ExpiresAbsolute = Now() - 1
Response.Expires = -1
Response.CacheControl = "no-cache"
%>
为什么在IE下可以,在火狐下,谷歌下, 这段使网页过期的代码 无效。
后退之后,浏览器还是能显示历史页面。
<%
Response.Buffer = True
Response.ExpiresAbsolute = Now() - 1
Response.Expires = -1
Response.CacheControl = "no-cache"
%>