<%
response.setHeader("Cache-Control","no-cache"); //HTTP 1.1
response.setHeader("Pragma","no-cache"); //HTTP 1.0
response.setDateHeader ("Expires", 0); //prevents caching at the proxy server
%>
If the above fails, try changing the first line to
response.setHeader("Cache-Control","no-store"); //HTTP 1.1


0 comments:
Post a Comment