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

Reply via email to