失憶筆記本
2012年2月1日 星期三
JSP 防止快取
在程式開頭加入以下
response.setHeader("Cache-Control","no-cache");
//HTTP 1.1
response.setHeader("Pragma","no-cache");
//HTTP 1.0
response.setDateHeader ("Expires", 0);
//prevent caching at the proxy server
沒有留言:
張貼留言
較新的文章
較舊的文章
首頁
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言