[Catalyst] reset session timeout
Moritz Onken
onken at houseofdesign.de
Mon Aug 20 18:12:10 GMT 2007
Hi,
just put
$c->session_expires(1);
in your Root::auto method and the session will be reset
Cheers
Hartmaier Alexander schrieb:
> Hi!
>
> I've got the same problem.
> Suggestions?
>
> -Alex
>
>
>> -----Original Message-----
>> From: Moritz Onken [mailto:onken at houseofdesign.de]
>> Sent: Saturday, August 11, 2007 7:37 PM
>> To: The elegant MVC web framework
>> Subject: [Catalyst] reset session timeout
>>
>> Hi,
>>
>> I don't know if it's a feature or a bug:
>>
>> Is use session state cookie. After I login the time when the cookie
>> will
>> expire is set to time_now + 2 hours. That's fine. But this point in
>> time
>> will never be updated whether I browse the page or not.
>> The point is I'll get logged out 2 hours after my login, even if do
>> every 5 minutes a reload of that page.
>> Did I miss something or should it work like this?
>>
>> Thanks,
>>
>> Moritz Onken
>>
>> _______________________________________________
>> List: Catalyst at lists.rawmode.org
>> Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
>> Searchable archive: http://www.mail-
>> archive.com/catalyst at lists.rawmode.org/
>> Dev site: http://dev.catalyst.perl.org/
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> List: Catalyst at lists.rawmode.org
> Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
> Dev site: http://dev.catalyst.perl.org/
More information about the Catalyst
mailing list