Hello,
I agree, but I have found, with certain setups, that:
response.setDateHeader ("Expires", -1);
actually seems to work whereas:
response.setDateHeader ("Expires", 0);
Does not.
> Date: Tue, 20 Jun 2000 10:32:29 +0100
> Reply-to: A mailing list about Java Server Pages specification and
> reference <[EMAIL PROTECTED]>
> From: Warrell Harries <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Re: Question on browser caching
> I got this tip off the jguru.com jsp faq
> Put this code as the first lines in your jsp
>
> <%
> response.setHeader("Cache-Control","no-store"); //HTTP 1.1
> response.setHeader("Pragma","no-cache"); //HTTP 1.0
> response.setDateHeader ("Expires", 0); //prevents caching at the proxy
> server
> %>
>
> -----Original Message-----
> From: Rajesh Nagarjunan [mailto:[EMAIL PROTECTED]]
> Sent: 06 June 2000 10:20
> To: [EMAIL PROTECTED]
> Subject: Question on browser caching
>
>
> Hi,
>
> Can someone please help me out with the browser caching issue where in I
> have a JSP with some java servlet code embedded in it.....
> Is there any browser setting along with code that will fix the problem
> of caching the pages...
> I did have a look at the archive of mails relating to the jsp-interest
> group... but nothing worked out.... (depressing).
> Any help in view of this issue will be greatly appreciated.....
>
> Thanks in advance
>
> Cheers
> Raj
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> 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
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> 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
>
Chris Probert
[EMAIL PROTECTED]
Electronic Trade Services
St. Alkmunds House
103 Belper Road
Derby
DE1 3ER
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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