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:[EMAIL PROTECTED]
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: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-
archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/


------------------------------------------------------------------------

_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to