----- Original Message -----
From: Finney, Michael <[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
> );


Here are a couple of possibly relevant messages posted earlier to this list
that might help.

Brien Voorhees

----------------------------------------------------------------------------
--
According to IBM, the way to prevent caching for JSPs in IE 5.0 is to use
the
following scriptlet in your JSP.
It works better than the meta tags in HTML.

<% response.setHeader("Pragma","No-cache");
response.setDateHeader("Expires",0);
response.setHeader("Cache-Control", "no-cache"); %>

Hope this helps.
-Mark

---------------------------------------------------------------
Hi all,
This is a known problem with IE, check out these articles:

http://support.microsoft.com/support/kb/articles/Q222/0/64.ASP

http://support.microsoft.com/support/kb/articles/Q234/2/47.ASP


Eric M. Andersen
I/T Specialist
IBM Global Services
Tel: (781) 895-2637,   Fax : (781) 895-2843, t/line : 362-2637
Internet ID:  [EMAIL PROTECTED]
Lotus Notes ID: Eric M Andersen/Waltham/IBM

===========================================================================
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