This is how we do it in some of our online programs.
setcookie('LOGIN',$LOGIN,(time()+32400),'/','',0);
Derrick Hermanson
Programmer Analyst I
[EMAIL PROTECTED]
-----Original Message-----
From: PETCOL [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 26, 2003 6:23 AM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Time out a session
PHP Newbie here.
Is there a way to time out a session? Say after like 30 minutes.
I want to set a session.variable after a user has been authenticated, then I
want it to time out so they have to log back in again.
Suggestions?
Col
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php