can't you use a regular session?
don't a sessions life span the time the browser is open by default?
-----Original Message-----
From: Glenn Wearen [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 10, 2001 12:28 PM
To: [EMAIL PROTECTED]
Subject: authorisation and re-authorisation
There has been considerable discussion on this list about authorisation and
related areas but none that can help me with this problem...
I'm looking for a way to detect when a user has left my site so I can
terminate their session. Currently the user supplies user/pass on URL to
login page and once verified the user/pass are loaded in a new session bean,
every other pages checks this bean for the presence of a non-blank
user/pass. With this design how do I know if a user has left my site, so
that I can re-request authorisation when they re-request any page from my
site again?
Thanks in advance
Glenn
PS: I don't have permission to modify the session timeout for my container
===========================================================================
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
===========================================================================
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