>    Is there a variable in php.ini that will allow you to log someone
out
> if there is no activity of 30 minutes or greater from the logged in
> user? Thanks in advance. :)

No, not really. You can use sessions, for something like this, though.
You start a session and look for a variable within it before you proceed
with the page. If the user is inactive for a while, the session will be
cleaned up and not exist when you go to check it, so you make them log
in again. You can control the session garbage collection time in
php.ini.

---John Holmes...



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to