Re: cache problem with IE 4.0-5.0

On Tue, 10 Apr 2001, Milum Software wrote:

> Help!
>
> I'm having a problem with a resource that I've implemented by extending
> PostableFrame hosted by Jigsaw 2.0.5. It generates HTML through an
> HtmlGenerator with a header that includes the
>
> <HEAD>
> <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
> <META HTTP-EQUIV="Expires" CONTENT="Sun, 28 Dec 1997 00:00:00 GMT">
>    <TITLE>Edit Name</TITLE>
> </HEAD>
>
>   so that browsers will not cache the result and display stale data.
>
> This works fine with Netscape and other browsers, but Internet Explorer
> doesn't support this tag. However, this seemed to work with older versions
> of Jigsaw I used to use.
>
> Does anyone know how to force IE not it cache an HTML page?

You should rather add a no-cache in the headers of the reply
reply.setNoCache();
According to the request sent, it will add the right header in the reply.

-- 
Yves Lafon - W3C
"Baroula que barouleras, au tiéu toujou t'entourneras."

Received on Thursday, 10 May 2001 12:07:14 UTC