Re: RE: session extension
| From: | rasmus@php.net | Date: | Thu, 06 Dec 2001 18:25:14 +0000 |
| Subject: | Re: RE: session extension | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-72772@lists.php.net to get a copy of this message | ||
> > You mean, when the session is destroyed it should call
> > __destroy_callback?
>
> exactly.
But how would you specify where this code is? Sessions are destroyed out
of context. ie. a session is not necessarily destroyed by anything even
remotely resembling the script that created them. And a whole lot of
people don't even use PHP to destroy their sessions, they simply have an
out of context cron job that goes through and cleans up old sessions while
setting gc_probability to 0.
-Rasmus