George Svedloff wrote:
>
> Hello, everybody,
>
> A while ago I posted a problem that I was observing - "Back" button reloaded
> a page that it originated form.  Recently i observed that it has to do with
> the fact that I use persistent cookies.

I've seen that same behavior with Netscape Enterprise Server and JRun. We were
using javax.servlet.http.Cookie objects to set cookies. When we did this,
caching did not work in the client browser (Netscape Navigator) and pressing the
back button caused the browser to request the page again.

Our solution was to set cookie data in hidden fields (<input type='hidden'...>)
in the page and then use Javascript in the page to set the cookie for the
browser. There may be other solutions as well, but that's the approach we took.

K Mukhar

___________________________________________________________________________
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