[Catalyst] Sessions and memcached storage

Simon Wilcox simonw at digitalcraftsmen.net
Wed Dec 5 08:24:35 GMT 2007


J.G.Konrad wrote:
> I've been having problems with session storage using memcached with more 
> than one memcached instance.  The sessions are expiring before they are 
> supposed to.  If there is only  one memcached instance everything works 
> like it is supposed to. 
> 
> Has anyone else had this problem?

Not directly but if the session is expired from your CACHE just pull it 
from the database again.

Remember memCACHEd is just a CACHE, it's not meant to be a database.

You shouldn't put anything critical in the CACHE that you can't get from 
  a reliable persistent store somewhere else.

See http://www.eu.socialtext.net/memcached/index.cgi?sessions

S.



More information about the Catalyst mailing list