php-windows | 2003112
Date: 11/26/03
- Next message: Croskerry, Dan: "RE: [PHP-WIN] DFD for website"
- Previous message: doris pelger :: eva horner: "Re: [PHP-WIN] DFD for website"
- In reply to: PETCOL: "[PHP-WIN] Time out a session"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Croskerry, Dan: "RE: [PHP-WIN] DFD for website"
- Previous message: doris pelger :: eva horner: "Re: [PHP-WIN] DFD for website"
- In reply to: PETCOL: "[PHP-WIN] Time out a session"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

