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" <[EMAIL PROTECTED]> wrote:
> >>>>> "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


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

Reply via email to