[Catalyst] Authentication and session
Yuval Kogman
nothingmuch at woobling.org
Mon Mar 20 07:51:16 CET 2006
On Mon, Mar 20, 2006 at 12:44:16 +0800, fayland wrote:
> 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?
You can override the session_expires method, and make it better
defined.
Marcus wrote a plugin to do exactly this, so ask him to release it.
BTW, this is unrelated to the authentication plugins - this is
strictly a session issue, so have a look in that direction.
--
() Yuval Kogman <nothingmuch at woobling.org> 0xEBD27418 perl hacker &
/\ kung foo master: /methinks long and hard, and runs away: neeyah!!!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
Url : http://lists.rawmode.org/pipermail/catalyst/attachments/20060320/0ee61bf6/attachment.pgp
More information about the Catalyst
mailing list