Click to See Complete Forum and Search --> : Ending a session after a certain period of time


mg8
11-12-2003, 04:33 PM
I was wondering how you would do this?

Is there a way to have like a timer on a page and if the timer is > than a set number, end the session?

Thanks

pyro
11-12-2003, 04:43 PM
Possibily sleep() (http://us3.php.net/manual/en/function.sleep.php), but I doubt that is what you need. Other than that, the only thing I can think of to make a PHP script run at a set time would be a cron...

mg8
11-12-2003, 05:26 PM
err..no I didn't

Man this is confusing as hell