I've had success with the following:

    <META HTTP-EQUIV="Expires" CONTENT="Tues, 01 Jan 1980 00:00:00 GMT">

Which looks like this in a servlet:

    response.setHeader("Expires", "Tues, 01 Jan 1980 00:00:00 GMT");

Best Regards,
-James Carroll
--------------------
MicroBrightField Inc. 

> -----Original Message-----
> From: Zsolt Koppany [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 13, 2001 12:49 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Cache problem with IE
> 
> 
> I have tried 'no-store' and 'must-revalidate' but none of them helped.
> 
> 
> Christopher Kirk wrote:
> > 
> > To verify Duncans point:
> > Cache-Control on the request is for proxies.
> > Cache-Control on the response is for proxies+browser.
> > (as stated by 'Core Servlets and JSPs by Marty Hall, 
> published by Sun).
> > 
> > You could try Cache-Control 'no-store', or 
> 'must-revalidate'.. to see if IE
> > handles them differently.
> > 
> > Also, just to check, you are setting the response to 
> HTTP/1.1? Pragma was
> > never consistent between browsers, and Cache-Control will 
> only be used if
> > the response specifies HTTP/1.1.
> > 
> > - Chris.
> > 
> > > -----Original Message-----
> > > From: Duncan Irvine [mailto:[EMAIL PROTECTED]]
> > > Sent: 13 March 2001 16:25
> > > To: '[EMAIL PROTECTED]'
> > > Subject: RE: Cache problem with IE
> > >
> > >
> > > I'm sure someone will jump on this from a great height if I'm
> > > wrong, but I
> > > seem to recall that the cache settings are for intermediate
> > > caches - not the
> > > browser.  The browser can cache pages as it sees fit -
> > > provided that it
> > > checks to see if they've been updated, but the cache control
> > > settings are
> > > there to stop intermediate caches from falsely reporting 
> a page as not
> > > having changed.
> > >
> > > Duncan.
> > >
> > >
> > > > -----Original Message-----
> > > > From: Zsolt Koppany [mailto:[EMAIL PROTECTED]]
> > > > Sent: 13 March 2001 16:13
> > > > To: [EMAIL PROTECTED]
> > > > Subject: Cache problem with IE
> > > >
> > > >
> > > > Hi,
> > > >
> > > > with the code below I can get netscape not to cache a jsp
> > > page but it
> > > > does not work with Internet-Explorer.
> > > > Does anybody know why?
> > > >
> > > >
> > > > response.setHeader("Cache-Control", "no-cache");
> > > > response.setHeader("Pragma", "no-cache");\
> > > >
> > > >
> > > >
> > > > Zsolt
> > > >
> > > > --
> > > > Zsolt Koppany
> > > > Intland GmbH www.intland.com
> > > > Schulze-Delitzsch-Strasse 16
> > > > D-70565 Stuttgart
> > > > Tel: +49-711-7871080 Fax: +49-711-7871017
> > > >
> > > >
> > > 
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: 
> [EMAIL PROTECTED]
> > > > For additional commands, email: 
> [EMAIL PROTECTED]
> > > >
> > >
> > >
> > > **************************************************************
> > > **************
> > > This message contains information which may be privileged
> > > and confidential and subject to legal privilege. If you are not
> > > the intended recipient, you may not peruse, use, disseminate,
> > > distribute or copy this message. If you have received this
> > > message in error, please notify the sender immediately by
> > > e-mail, facsimile, or telephone and return or destroy the
> > > original message. Sopheon and its officers are not responsible
> > > for any statements or material in this e-mail and in any 
> attachment
> > > to it which might give rise to any criminal or civil claim.
> > > **************************************************************
> > > **************
> > >
> > > 
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, email: 
> [EMAIL PROTECTED]
> > >
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, email: [EMAIL PROTECTED]
> 
> -- 
> Zsolt Koppany
> Intland GmbH www.intland.com
> Schulze-Delitzsch-Strasse 16
> D-70565 Stuttgart
> Tel: +49-711-7871080 Fax: +49-711-7871017
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to