Here is an article I wrote on this:
http://www.orionsupport.com/articles/defeatingcache.html
----Original Message Follows----
From: Atilio Ranzuglia
Reply-To: A mailing list about Java Server Pages specification and reference
To: [EMAIL PROTECTED]
Subject: Re: No Cache on JSP Page
Date: Mon, 6 Aug 2001 05:45:30 -0700
David:
You are saying that meta-tags are unreliable, but also
you are saying that "Pragma" and "Cache-control" works
fine. Well, what you should know is that "Pragma" and
"Cache-control" are meta-tags!!! :O
Atilio
Good luck
--- "David M. Karr" wrote:
> >>>>> "Josh" == Josh Pepper writes:
>
>Josh> Hey, all. Josh> Trying to prevent a login page from caching, and the
>usual meta-tags Josh> don't seem to be working. Anyone have any thoughts on
>this?
>
>Other people may have different information, but from what I've read (I
>haven't personally tested this), using meta tags to prevent caching is
>unreliable. You're better off using headers to specify this. You can set
>these directly in the JSP page.
>
>In particular (I think these are correct), specify "Pragma: no-cache" for
>HTTP 1.0 support, and "Cache-Control: max-age=0" for HTTP 1.1 support.
>
>--
>
===================================================================
>David M. Karr ; Best Consulting [EMAIL PROTECTED] ; Java/Unix/XML/C++/X
>; BrainBench CJ12P (#12004)
>
>
===========================================================================
>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
=====
Ing. Atilio Ranzuglia Buteler
[EMAIL PROTECTED]
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
===========================================================================
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
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
===========================================================================
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