Your app server should allow you to set a timeout on the HttpSession ...
also, you can invalidate the session yourself by calling
'session.invalidate()'.  I do not know of a way to directly determine if a
user has closed the browser ...

-----Original Message-----
From: Rakesh [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 17, 2001 9:19 AM
To: [EMAIL PROTECTED]
Subject: disconnect



I am not sure if this question belongs here.
 
I have a web app (in struts). I need to expire the session if the user gets
disconnected (and does not close the browser window). Any hints on how this
is to be done ?
 
 
 
 Rakesh Ayilliath
(Software Engineer)
 
Synergy IT Innovations Pvt Ltd,
#196, 1st Floor, 9th Cross,
HMT Layout, RT Nagar
Bangalore 560032
 
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 
www.ayilliath.8m.com <http://www.ayilliath.8m.com> 

Reply via email to