Hi!
There's no way to know on server side that user gets disconnected, if
user just does nothing.
If user explicitly makes logout, you can of course end the session in code.
There is always some timeout specified for sessions in web containers.
Setting timeout maybe helps you dealing with users leaving browser open.
Kind regards,
Aki Salonen
Wincor Nixdorf Oy
System Analyst
-----Original Message-----
From: Rakesh [mailto:[EMAIL PROTECTED]]
Sent: 17. hein�kuuta 2001 15:19
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]
www.ayilliath.8m.com