Re: session expire

From: Date: Wed, 08 Oct 2003 14:48:13 +0000
Subject: Re: session expire
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-165446@lists.php.net to get a copy of this message
--- redips <redipshk@yahoo.com> wrote: > I know that if I set a session, by default it will expire when the > browser closes. Can I also set a timeout? You can look through your php.ini, searching for the word session. I prefer, however, to keep a timestamp of the user's last access in the session itself, and you can use that in your programming logic to determine whether the user's session is timed out or not. Hope that helps. Chris ===== My Blog http://shiflett.org/ HTTP Developer's Handbook http://httphandbook.org/ RAMP Training Courses http://www.nyphp.org/ramp

« previous php.general (#165446) next »