On Fri, 01 Oct 2004 14:16:44 -0500, Philip Thompson <[EMAIL PROTECTED]> wrote:
> This may be a bit elementary, however, I am confused on the
> functionality of it. I am wanting to create a session that logs out
> after a certain amount of time, no matter if the user is doing
> something or not. I have used the function `set_time_limit()`, but I
> don't know if I'm using it properly.
I don't know of any functions built into PHP that have the
functionality you're looking for, but you should be able to simply
store an expiry date/time in your user's session, and if the current
time is past that, destroy the session and send them to a 'time
Have a look at the session specific portion of the manual for some
helper functions. Also, if you're looking for further guidance, you
might want to re-post this question to the PHP-General list, since
your question isn't DB specific.
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php