I have been setting the servlet response with:
> response.setHeader("Pragma", "No-cache");
> response.setHeader("Cache-Control", "no-cache");
> response.setDateHeader("Expires", 0);
>
This works as I want except for one thing.  When the user hits the back
button on the browser, there will be 1 - N pages saying that the "page has
expired and to view this web page, click the Refresh button" with N being
the number of times they went through this page.  I do want the page to be
expired.

Is there a way to prevent this from happening?  It is annoying to not be
able to simply go back to the last page that hasn't expired.

Thanks.

Tom Lageson
[EMAIL PROTECTED]

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to