Re: Execution point of session save handler on shutdown
| From: | Hannes Magnusson | Date: | Fri, 19 Feb 2010 16:27:32 +0000 |
| Subject: | Re: Execution point of session save handler on shutdown | ||
| References: | 1 | Groups: | php.internals php.pecl.dev |
| Request: | Send a blank email to internals+get-47001@lists.php.net to get a copy of this message | ||
On Fri, Feb 19, 2010 at 16:54, Christian Seiler <chris_se@gmx.net> wrote:
> Hello,
>
> [CC to pecl-dev since this is APC-related.]
>
> I have been investigating a problem occuring when using APC in
> combination with userspace session save handlers. This has been reported
> multiple times both in the APC and PHP bugtrackers, bugs related to this
> issue include (but are most likely not limited to):
This has been documented feature for several years.
You should explicitly call session_write_close() when your custom
session handler is a userspace object.
-Hannes