[Catalyst-dev] C::P::Session::DynamicExpiry implementation

Yuval Kogman nothingmuch at woobling.org
Thu Aug 10 20:13:09 CEST 2006


On Fri, Aug 11, 2006 at 03:07:43 +0900, Hideo Kimura wrote:

> I think of a session cookie (cookie_expires = 0).
> 
> ex)
> In the default:
> session:
>   expires: 3600
>   cookie_expires: 0
> 
> then 'remember me':
> $c->session_time_to_live(10000000);

The question is "what is the right behavior"? Does the session
cookie get it's session cookie semantics overridden or not?

I mean, it makes sense this way, but it also makes sense a different
way, when cookie_expires is hardcoded to a much longer lasting
value...

I think the solution is a more comprehensive configuration option to
C::P::State::Cookie.

I don't know yet =/

-- 
  Yuval Kogman <nothingmuch at woobling.org>
http://nothingmuch.woobling.org  0xEBD27418

-------------- 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-dev/attachments/20060810/8aefe6f4/attachment-0001.pgp 


More information about the Catalyst-dev mailing list