force refresh
843836Nov 15 2004 — edited Aug 1 2005hi,
i'm using tomcat 5.0.27 and i.e 6.
how can i force the page reload? actually the browser charge the old page (i.e. if a user see a page and later push logout another user in the same browser session will see the same page even if he shouldn't see it becouse didn't log in!)
i have tried with
<%
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
%>
but i obtain a server error.
please help me!