On Thu, 26 Aug 1999, Steven J. Owens wrote:

> 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.

I was only really responding to what you need to do to get "no
caching" behavior, but it looks like that only forces the browser to
forget the results of the request (i.e. and submit it again), not the
request itself.  Not sure if there's a way to do that.

Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[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