Re: [PHP4BETA] Server-side session cleanup...
| From: | Sascha Schumann | Date: | Mon, 20 Dec 1999 19:40:46 +0000 |
| Subject: | Re: [PHP4BETA] Server-side session cleanup... | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-8243@lists.php.net to get a copy of this message | ||
On Mon, Dec 20, 1999 at 10:22:10AM -0800, Ryan_Robertson@3com.com wrote:
>
>
> Hello,
>
> Would someone mind explaining to me the intricacies of server-side session
> cleanup? As I understand it, session's are cleaned up based on the
> gc_probability and gc_maxlifetime vars.
>
> The gc_probability variable determines when the sessions will be cleaned up
> based on incoming requests for new sessions (that part I get). I don't quite
> understand the gc_maxlifetime variable. Does it clean-up all sessions older
> than the value specified in gc_maxlifetimes regardless of whether they've been
> used recently, or only sessions that haven't been touched for that period of
> time?
When a specified session is used, its associated file will be
updated. The files save handler deletes files which haven't
been updated for gc_maxlifetime minutes.
--
Regards,
Sascha Schumann
Consultant