RE: [PHP-WIN] Time out a session

From: Date: Wed, 26 Nov 2003 14:07:54 +0000
Subject: RE: [PHP-WIN] Time out a session
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-22206@lists.php.net to get a copy of this message
This is how we do it in some of our online programs. setcookie('LOGIN',$LOGIN,(time()+32400),'/','',0); Derrick Hermanson Programmer Analyst I dhermanson@acton.com -----Original Message----- From: PETCOL [mailto:colin_blunt@petcol.com] Sent: Wednesday, November 26, 2003 6:23 AM To: php-windows@lists.php.net 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

« previous php.windows (#22206) next »