u can implement the HttpSessionBindingListener interface put the
logic for removing the user from the table in the valueUnBound method of
this interface
this method is called when the session is closed.
--
jk
"james.h.oconnor" wrote:
there is an invalidate method available to the session object
-----Original Message-----
From: kavitha_ramasamy [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 03, 1999 10:04 AM
To: SERVLET-INTEREST
Subject: Session trackingHi,
I am designing that user login system, where same user cannot make
multiple sessions(multiple entries with the same name). When a particular
user is making a session, the user information is logged into the table and
released from the tablewhen the user closed the session.Here if the user close the system(prpoer logout of the system),then it is
releasing all resources,woking fine.Once the user made the session, if he close the browser window(not proper
logout), I need to release the resources (session is still there) before
session time out.How can I release the resources if the user closes the browser window
before the session time out.Any help will be greatly appreciated
Thanks
kavitha______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
