RE: [PHP] Re: Sessions...
| From: | Johnson, Kirk | Date: | Thu, 15 Aug 2002 23:02:01 +0000 |
| Subject: | RE: [PHP] Re: Sessions... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-112875@lists.php.net to get a copy of this message | ||
> Kondwani Spike Mkandawire wrote:
> > Am I mistaken to assume that a Session is automatically
> > destroyed if a Window Browser is closed?
*Eventually* it is destroyed, but not at the instant the browser is closed.
See the session.gc_maxlifetime and session.gc_probability settings in
php.ini. If the session file is not accessed for a specified period of time,
then it is deleted.
Kirk