We are actually using WebSphere and IIS (and using javax.servlet.http.Cookie
objects as well).
I would guess that what happens is that WebSphere sets some haders in the
Response that marks the page as non-cacheable. The question is, is there
any way to turn this off? Servlet API does not provide a way to examine the
headers in a Response, and beisdes, WebSphere could be doing this after
service() exits.
_____________________
George Svedloff
[EMAIL PROTECTED]
http://www.liquidprice.com
1.800.863.2220
----- Original Message -----
From: Kevin Mukhar <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 07, 2000 2:35 PM
Subject: Re: "Back" button realoading a page - related to persistent cookies
> 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
___________________________________________________________________________
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