[Catalyst] Session Expiry
Jonathan Rockway
jon at jrock.us
Sun Mar 2 08:20:26 GMT 2008
* On Sun, Mar 02 2008, Bill Moseley wrote:
> On Sat, Mar 01, 2008 at 09:50:10PM -0600, Jonathan Rockway wrote:
>> * On Sat, Mar 01 2008, Bill Moseley wrote:
>> > Is it expected that the application update the session every request
>> > to prevent expiry while a user is actively using the application?
>>
>> Is the problem that $c->session->{__expires} doesn't get updated, or is
>> the problem that the Cache backend is losing things due to its expiry
>> not being updated?
>
> Well, I think it's both, althogh I'm not sure __expires is used any
> more.
Good point. If $c->session->expires were being updated, then it would
force an update in cache, obviously. So I guess sessions expire some
time after you write to them, not some time after you read from them.
That sounds like a bug.
Thoughts?
Regards,
Jonathan Rockway
More information about the Catalyst
mailing list