On Sun, Sep 24, 2006 at 02:59:23 +0000, Fayland Lam wrote:

> now I'm using it. but I find something wrong. (guess it it!)
> Always return expires => undef in the
> Catalyst::Plugin::Session::DynamicExpiry 0.02
> the Catalyst::Plugin::Session::State::Cookie 0.06 sub
> make_session_cookie call calculate_session_cookie_expires
> but in Catalyst::Plugin::Session::DynamicExpiry 0.02, there is no
> calculate_session_cookie_expires.

Right, that's in Catalyst::Plugin::Session::State::Cookie.

If $cfg->{cookie_expires} exists but is 0 then all browser cookies
use session expiry (until the browser closes), instead of timed
expiry.

If this value is not overridden it will call $c->session_expires,
which *is* managed by C::P::Session::DynamicExpiry (albeit
indirectly).

In short, you shouldn't need to do this.

-- 
  Yuval Kogman <[EMAIL PROTECTED]>
http://nothingmuch.woobling.org  0xEBD27418

Attachment: pgpgfIrh3klNm.pgp
Description: PGP signature

_______________________________________________
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