durusmail: quixote-users: Session affinity with SCGI?
Session affinity with SCGI?
2005-02-09
2005-02-09
2005-02-09
2005-02-09
2005-02-09
2005-02-09
2005-02-10
Session affinity with SCGI?
Titus Brown
2005-02-09
-> >I know this isn't the solution you wanted, but it's something you might
-> >consider:
-> >
-> >http://www.danga.com/memcached/
-> >
-> >There's a Python API for it, too.
->
-> It wasn't quite what I had in mind, but thanks all the same! I was
-> looking for one of these as well. ;-)

I'm glad I could help ;).

I just wrote a fairly simple example of a memcache sessions
implementation (modified from my SQL example).  A Darcs repository
is at

        http://darcs.idyll.org/~t/projects/qx-memcache-example/

and a tarball is at

        http://darcs.idyll.org/~t/projects/qx-memcache-example-dist.tar.gz

It's persistent in the sense that as long as the memcache daemon is
running, your users/sessions will be persistent across SCGI processes.
Right now there's no mechanism to save either sessions or users to disk,
however.  (I wrote it because I was curious about how the memcache API
worked.)

cheers,
--titus

reply