The following date is the "beginning of time" date for HTTP and it's always
worked for me:

<% response.setHeader("Expires", "Tue, 01 Jan 1981 01:00:00 GMT"); %>

Mike

-----Original Message-----
From: Mike Engelhart [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 12, 1999 12:20 AM
To: [EMAIL PROTECTED]
Subject: Re: Expires not working


Try this:

<% response.setHeader("Expires", "-1"); %>

This worked for me.

Mike
----------
>From: Steve Lopez <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Expires not working (via response.setHeader())
>Date: Thu, Aug 12, 1999, 12:21 AM
>

> I want to ensure that a page is retrieved from the server and
> not from the local browser cache.  I have the following code
> in my jsp:
>
> <% response.setHeader("Expires", "Tues, 01 Jan 1980 00:00:00 GMT"); %>
>
> But this isn't working (the old page is loaded and the user is forced
> to do a refresh.
>
> I am using the JSWDK-1.0 EA1 (JSP1.0) reference implementation
> and the browser is IE4.01
>
> Thanks!
>
>
===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff JSP-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to