Hi,
   How do I keep track of the user timing from the logon to the logoff.Do I
start a timer when the session starts for the user and insert the timer when
he logs off and update the database(Oracle)?.
I would like to store this infrmation in a log file for the administrator to
see at the end of the day.

This is what I am storing eg.

UserName, IpAddress,RemostHost,TimeSpent(min),No.Times R/W to the DB
----------------------------------------------------------------
ABC      123.453.34.345    usa.gov.org   43        5

DEF       132.345.24.234   microsoft.com 32        3

The Last Column of the READ/WRITE. I thought of keeping a counter everytime
a button which calls a servelt is going to be clicked and always add that to
the session table .
I guess the session is really useful here
Let me know.

Thanks
Krishnan
Ps* Has anyone used the verisign for user authentication in Java
Webserver2.0? I am trying to ..


______________________________________________________
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

Reply via email to