tausif82 Level: Trainee
 Registered: 05-01-2006 Posts: 1
|
Store the log in & log out time of a user in a database
Hi ,
I need to calculate for how long the a user has been logged on to windows. To be more specific , I need to find out how many times has "x" logged on to windows & store the time he has spent during a single day on his comp.
Any help on how I go about this.? I had earlier thought to create a program that would run in the background & once the user logs in store his Log in time & when store his logout time time when he logs out of his system in a database ... but I dont want to use the system date for log out time as the user can change the system time... Also, I have read the timer control isnt very accurate. Is there any other way out?
Any help would be appreciated !!!
Tausif
|