解决浏览器缓存的问题
摘要: <%
if(request.getProtocol().compareTo("HTTP/1.0")==0)
response.setHeader("Pragma","no-cache");
else if(request.getProtocol().compareTo("HTTP/1.1")==0)
response.setHeader("Cache-Control","no-cache");
response.setDateHeader("Expires",0);
%>
阅读全文
posted @
2007-11-30 13:48 心随我动 阅读(289) |
评论 (0) 编辑