>>>>> "Josh" == Josh Pepper <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