In your web.xml, specify time in minutes before session time out.
<session-config>
<session-timeout>30</session-timeout>
</session-config>
Then do a check for expiring of the session in code.
-Tim
-----Original Message-----
From: Panayiotis Periorellis
[mailto:[EMAIL PROTECTED]]
Sent: Friday, March 15, 2002 8:14 AM
To: [EMAIL PROTECTED]
Subject: sessions
Hello All,
How can I implement a JSP page that expires ...
I use JSP to process a request and produce some results on which the
user can send requests for further processing.
I don't want to give him foverer to do so I want at some point to say
your session has expired..
How do I do that?
Any replies will be greatly appreciated.
panos
==========================================================================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://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.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://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.com