Try using the expires property of the document. set the expiry date to
something like jan 1st 1970.
-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of David Gowe
Sent: Tuesday, May 09, 2000 9:58 PM
To: [EMAIL PROTECTED]
Subject: Re: Expire Page
Thanks Atif, but this did not work.
Any other ideas?
----- Original Message -----
From: Majeed, Atif <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 08, 2000 7:51 PM
Subject: Re: Expire Page
> You can use
> HttpServletResponse.setHeader("Pragma", "no-cache");
> or send an equivalent Meta tag
> <META http-equiv="Pragma" content="no-cache">
>
> Atif
>
> -----Original Message-----
> From: David Gowe [mailto:[EMAIL PROTECTED]]
> Sent: Monday, May 08, 2000 1:08 AM
> To: [EMAIL PROTECTED]
> Subject: Expire Page
>
>
> Hello!
>
> I have the following requirement:
>
> When I use a JSP page and submit it to the the servlet, I want that page
to
> expire (viz.,. the user should not be able to press the back button on the
> browser and visit that page again). Is it sufficient if we specified the
> "scope" in the usebean tag to "page". Will that only affect the scope of
the
> bean, or is there some additional tags to be used.
>
> Regards
>
> David Gowe
>
>
===========================================================================
> 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
>
===========================================================================
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