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

Reply via email to