[Catalyst] Sharing session and login data

Perrin Harkins pharkins at gmail.com
Wed Feb 28 15:21:28 GMT 2007


On 2/28/07, Jeffrey Ng <jeffreyn at gmail.com> wrote:
> right! thanks for reminding. we probably will put it on a separate
> dedicated memcache server then.

That won't help.  If you want reliable session storage with caching,
use memcached as a write-through cache for your database, i.e. when
you write, write to both the database and memcached.  When you read,
try memcached first and then fall back to the database if you don't
find the session.

- Perrin



More information about the Catalyst mailing list