Maybe use Session Tracking. Once the user logs out ( or times out), remove
the session and close your database connections.
Everytime a user logs in, create a new session. Hope this helps. Correct me
if i am wrong.

Amar..





Revathy Ravi <[EMAIL PROTECTED]> on 03/29/99 12:03:45 AM

Please respond to "A mailing list for discussion about Sun Microsystem's
      Java              Servlet API Technology."
      <[EMAIL PROTECTED]>

To:   [EMAIL PROTECTED]
cc:    (bcc: Amarnath Nanduri/IT/VANCPOWER)
Subject:  How to do time out operation using servlets




Hello everybody ,
        I want to close the database operation or delete a user
information once he logs out of any operation or once his time out
happens? How to do this? where to look for examples?




  Revathy R.

___________________________________________________________________________
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

___________________________________________________________________________
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