Milt writes:
> By my understanding of the format required of the date in the Expires
> header, this is not in the right format. Here's what I use:
>
> resp.setHeader("Expires", "Mon, 01 Jan 1990 06:00:01 GMT");
>
> It has to use that format for all the components of the date, and it
> has to use GMT. You don't have to use that specific date :-).
>
> I use this and the Pragma and Cache-Control headers as you have above,
> and it works for me (in my limited testing) to prevent caching.
I just tried it with this format and the browser still offers to
repost the arguments (and does so, successfully). Maybe I should be
taking the opposite tack - keeping the page in the cache and adding
javascript so when you back up to it, it immediately skips you back to
the preceding page.
Steven J. Owens
[EMAIL PROTECTED]
[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