Re: Memcache session handler
| From: | Glenn Richmond | Date: | Fri, 20 Oct 2006 09:20:28 +0000 |
| Subject: | Re: Memcache session handler | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-26119@lists.php.net to get a copy of this message | ||
Hi Andreas,
Thanks for the suggestion - looks like a nice way to separate it from
the main source tree. I'll look at this as an option also :) I think the
one nice thing of integrating with the PECL memcache project would be
re-using the memcache library backend, but will see how we go.
Regards,
Glenn.
Andreas Korthaus wrote:
> Hi Glenn,
>
> Glenn Richmond wrote:
>> This isn't actually part of the PECL project as I understand it. The
>> PECL memcache project provides a PHP interface to using a memcache
>> server. What I've developed is a memcache session handler that can be
>> used via the php.ini file by:
>>
>> session.handler = memcache
>
> That's exactly what you can do with an extension. Perhaps look at
> eAccelerator for an example:
>
> http://eaccelerator.net/browser/eaccelerator/trunk/session.c
>
>> As such, it's something that could (or perhaps should) be part of the
>> main source tree. Is there a middle stage here? i.e. Can I provide it as
>> an optional compile flag in the configure script?
>
> I think PECL:memcache is the perfect place for such a session-handler.
>
>
> best regards
> Andreas