方法1:
- xmlhttp.setRequestHeader("Cache-Control","no-cache");
- url += "&random="+Math.random();
- url += "×tamp="+new Date().getTime();
方法二:
//处理页面缓存
response.setHeader("Pragma","No-cache");
response.setHeader("Cache-Control","no-cache");
response.setDateHeader("Expires", 0);
posted on 2007-01-11 14:56
一缕青烟 阅读(572)
评论(0) 编辑 收藏