record amount of time a user is logged in
Posted on 2005-05-04
i have a webpage site where in the admin control panel, i wnat to display the time that each user is logged in?
at the mo, i can display all users that are currently logged in, but how do i record the amount of time they are logged in? and display that too?
im using sessions and my page is coded in php using a mysql database..
looking for example scripts or clearly stated steps in creating this