You can do this with java script, try something like this...
<script language="JavaScript">
//call the timeOut Function in 5 minutes
setTimeout("timeOut()", (5*60*1000));
function timeOut()
{
//redirect to a page that will expire the session on the server
document.location = "/expireSession.jsp";
}
</script>
_____________________________________________
Pete Freitag ([EMAIL PROTECTED])
CFDEV.COM
Web Developer Resources
http://www.cfdev.com/
Check out ActivEdit a WYSIWYG HTML Editor that works like a Textarea
http://www.cfdev.com/activedit/
-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Hari Yellina
Sent: Monday, October 29, 2001 9:16 PM
To: [EMAIL PROTECTED]
Subject: Inactive Time.
Hi All,
I am developing Point of Sale Application. I want user to lock the System
in 5 minutes. It has to happen automatically, if the user is not using for a
5 minutes.
If any one had solved this problem. Please mail and a piece of code would be
of great Help
Regards,
Hari.
===========================================================================
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