Hello, everybody!
I have carried out additional tests and found out
that I was wrong:
JX> response.setHeader("Cache-Control","no-cache"); //HTTP 1.1
JX> response.setHeader("Pragma","no-cache"); //HTTP 1.0
AT> if ... they work -
AT> (and I'm not sure they will, maybe "Expires: -1" would
AT> do a better job, please correct me if I'm wrong)
I have found out that both for NS6.0 and IE5.5
Expires: -1
is not sufficient to force the browser reload the page after
the user presses the 'Back' button.
We _do need_
Cache-Control: no-cache
here.
BTW: I could not force Opera 6.0 to reload the page after the
'Back' button :-(
I used
Expires: -1
Cache-Control: no-cache
Pragma: no-cache
but still the page was not refreshed..
Does anybody know the solution?
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.com