Problem in mantaining login history
Posted on 2004-09-11
i am trying to maintain login history of the users who have logged in to the site. i have to save login and log out time in database. i can save login time with no problem,, the problem is that i have to save logout time too. but what if user does not logout, he just closes the window or his system gets shut down due to some reason,, what should i do in that case,,, any ideas??
all ur help is more than welcome...