You can also write yourself a Servlet Filter. You could say for all pages under
/directoryofyourchoosing/*, add these elements.
Lixin Chu <[EMAIL PROTECTED]> wrote: this may be posted before though i can not
find any in the archive:
how to make sure that browser's back button will bring back the previous
page after log out ?
Googled, and added these into our logout action, but still no effect:
response.setHeader("Cache-Control", "no-cache");
response.setHeader("Cache-Control", "no-store");
response.setDateHeader("Expires", -1);
response.setHeader("Pragma", "no-cache"); // http 1.0
any idea ?
thanks in advance
lx
---------------------------------
Ring'em or ping'em. Make PC-to-phone calls as low as 1ยข/min with Yahoo!
Messenger with Voice.