8O
Session Timer
I use sessions to track the users' actions on my web site, pluss the
members name are listed on my web site on a log status bar. The
problem is that if the users do not log out correctly, their user
name will be showing up on the log status bar after they have closed
their browser. The correct way to log out of my web site is to click
the log out option so the script will remove their name from the
status bar. What I need to figure out is to make a timer which will
delete their active status after, say 30 minutes.
Every page I have use session_start() and I register the user session
variable as $valid_user.
I have a table which I call logstatus. When the user log into the
web site the $valid_user variable value put their username into the
logstatus table, and when the user log out, the $valid_user variable
remove the value from this table.
How can I make a script to
remove the users from this table after 30 minutes when the users do
not log out correctly?
Thanks for any help.

