Dear friends,

I have a problem regarding the sessions. I am getting a session using
getSession(true) in the servlet which takes care of the Logging in
functionality . Also I am storing the following things in two hashtables

Hashtable 1 :   userid , login time
HashTable2 :   userid  , sessionid( getting it using the getId()).
 I have a controller servlet in which  a thread is started  in init() to
keep track of max logged time using the first hashtable . I log the user out
in a method in the controller servlet calling it from the thread's run()
implemantation.

Now my problem is to invalidate the session the for the logged out user( one
session allowed per user) using the sessionid  stored in the second
hashtable at the time of getting the session.

Thanks in advance

Rajiv Bhatnagar

___________________________________________________________________________
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

Reply via email to