[Solar-talk] Adapter-aware session package

Antti Holvikari anttih at gmail.com
Sun Nov 11 10:03:59 CST 2007


On 11/11/07, Paul M Jones <pmjones at solarphp.com> wrote:
>
> On 11 Nov 2007, at 06:49, Antti Holvikari wrote:
>
> > On 11/11/07, Ian Szewczyk <roamzero at gmail.com> wrote:
> >> I wonder if a db adapter that uses sqlite would work better than one
> >> that uses Solar_cache?
> >
> > I agree. I think I need to write DB and memcache adapters.
>
> I think the PHP memcache extension comes with a memcache session
> handler, but I don't know how good it is or how useful it will be to
> us here.
>
> <http://us.php.net/memcache>
>      session.save_handler  (string)
>      Use memcache as a session handler by setting this value to
> "memcache".

Wow, that was easy. Here it is, works like a charm:

http://lux.googlecode.com/svn/trunk/Solar/Session/Adapter/Memcache.php

-- 
Antti Holvikari


More information about the Solar-talk mailing list