Re: Memcache session handler
| From: | Glenn Richmond | Date: | Fri, 20 Oct 2006 08:49:55 +0000 |
| Subject: | Re: Memcache session handler | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-26111@lists.php.net to get a copy of this message | ||
Hi Antony,
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
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?
Glenn.
Antony Dovgal wrote:
> On 10/20/2006 08:35 AM, Glenn Richmond wrote:
>> Hi all,
>>
>> I've just been implementing a memcache session handler that allows for
>> multiple servers in a cluster to store their session data in a central
>> place. I had to make the changes in the PHP source as the user session
>> handler doesn't quite work properly (it wipes the references to the PHP
>> functions when session_write_close is called). Anyway, so it's all
>> working quite well (still undergoing testing) and it works with a main
>> memcache server and a backup as a failover. I'd like to check the code
>> back into the source tree if it's something that might be of use to the
>> general community and am told that this is the list to discuss this?
>>
>> So a couple of queries:
>>
>> * Is this something worth checking back into the main source tree?
>> * How do I get registered as a developer or can I provide it as a
>> .diff to an existing developer?
>
> I guess you need to contact current PECL/memcache developers.
>