Hi,

I am having a problem with forcing pages to expiry automatically and not to
be cached.

At the begining of each JSP I include the following code

response.setHeader("Cache-Control", "no-cache");
response.setHeader("Pragma", "no-cache");
response.setHeader("Expires", "Sat, 01 Jan 2000 06:00:01 GMT");     ---->
Date in past

However, this is not being used and all pages are being cached under my IE5
browser. Expiry date is actually appearing as the date the page was
accessed.

I am using ServletExec3.0C and IPlanet 4.1.

Thanks

Richard Berger

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to