Try this:
        response.setDateHeader("Expires", 0);

Worked for me.

Mark.


-----Original Message-----
From: Finney, Michael [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 29, 1999 3:06 PM
To: [EMAIL PROTECTED]
Subject: IE5 and cache


We would like IE5 not to cache our jsp pages.

How?

Before you respond, make sure you try it with IE5, before you answer please.
We've tried many things that work for other browsers.
We tried the following for example,

                                       response.setHeader("pragma",
"no-cache");
                                       response.setHeader(
"Cache-Control","no-cache" );
                                       response.setHeader(
"Cache-Control","no-store" );
                                       response.setDateHeader( "Expires", 0
);

http://forum.java.sun.com/forum?[EMAIL PROTECTED]^0@.ee77761/0

----

The only solution that seemed to affect IE5 at all was in this area
http://support.microsoft.com/support/kb/articles/Q199/8/05.asp

It's VBScript.



Thanks,
Michael Finney

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to