Justtechjobs.com Find a programming school near you






Online Campus Both


php-windows | 2003112

RE: [PHP-WIN] Time out a session From: Derrick Hermanson (dhermanson <email protected>)
Date: 11/26/03

This is how we do it in some of our online programs.

setcookie('LOGIN',$LOGIN,(time()+32400),'/','',0);

Derrick Hermanson
Programmer Analyst I
dhermanson <email protected>

-----Original Message-----
From: PETCOL [mailto:colin_blunt <email protected>]
Sent: Wednesday, November 26, 2003 6:23 AM
To: php-windows <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