[Catalyst] Authentication and session

fayland fayland at gmail.com
Mon Mar 20 05:44:16 CET 2006


hi, all.
I'm using Authentication and session plugins like this:

    Authentication
    Authentication::Store::DBIC
    Authentication::Credential::Password
    Session
    Session::Store::File
    Session::State::Cookie

We have a checkbox "Keep me logged in" when the user login. the problem 
is how to approach it?
it seems that $c->login( $user, $password ) doesn't have any option to 
set the session cookie. and Session::State::Cookie has a option 
"cookie_expires", but how can I set it to the session cookie?

Any tips are appreciated, thanks very much.
Best regards,

-- 
Fayland Lam // http://www.fayland.org/ 





More information about the Catalyst mailing list