[Catalyst] Session Expiry

Jonathan Rockway jon at jrock.us
Mon Mar 3 01:45:53 GMT 2008


* On Sun, Mar 02 2008, Ash Berlin wrote:
> On 2 Mar 2008, at 03:50, Jonathan Rockway wrote:
>
>> In the second case, it's just a bug in the Session::Store::Cache store
>> that can be fixed with the addition of a backend_expires configuration
>> key, probably set to "never" by default.
>
> Not quite true. It would look like it fixes it for most cases. A cache
> is just a cache. Don't rely on them (particularly memcahced) to keep
> data around until you told it you would like it to expire at - there
> is no guarantee of this happening, especially under heavy load.

Yeah.  I think we've covered this about 1000 times on the list, so I
didn't say anything.  I still think using a lossy storage mechanism for
data you don't want to lose is silly.

I hate it when $SITE_I_VISIT loses my login session; use.perl does this
all the time... reddit does it occasionally.  It's annoying, and at some
time you're going to have to shut off your memcached machine.  Then all
your users have to re-log-in.

Regards,
Jonathan Rockway



More information about the Catalyst mailing list