RE: Re[2]: [PHP] How to handle "so called" expired sessions??
| From: | John W. Holmes | Date: | Wed, 04 Dec 2002 03:28:55 +0000 |
| Subject: | RE: Re[2]: [PHP] How to handle "so called" expired sessions?? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-126927@lists.php.net to get a copy of this message | ||
> I've noticed this as well with the things I've been doing for
sessions.
> They way I understand it is that the server side session storing
values is
> supposed to expire after a certain lenght of time. I currently have
this
> at default so I think it should expire after 24 mins. The cleanup is
done
> within php itself so nothing is cleaned up until php is called again.
Is
> this correct? If so, I have sessions located within my /tmp directory
that
> are over 3 weeks old and have been there ever since they were first
> created.
The default way sessions are set up is that there is a one percent
chance that the cleanup process will be triggered on each request. Maybe
you've just never hit that 1% ?
---John Holmes...