Hi,

I have a html page that is served dynamically. When field
validation fails on the page, it gets redirected
to an error page. When I hit the browser back button
to correct errors, the browser contacts the server
instead of serving the cached page. To fix this, I have
the servlet set the HTTP header "Expires" with a day's offset
into the future. The problem has been fixed in the
Netscape browser, but IE (5.0) still makes contact with the
servlet when the back button is hit. The funny thing is
if I destroy the IE session and start a new one, typing
the URL of the page gets me a cached copy of the page,
but when the back button is hit on the error page succeeding
the page I want cached, the browser agin contacts the servlet.
I have tried setting the other header fields such
as max-age, Last-Modified etc. to see if that would fix
the problem, but it does not. Is there an explanation and
a fix for the IE behavior ? Thanx in advance.

balaji

___________________________________________________________________________
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