I can confirm that with the latest C::P::Session, using
extend_session_expires in the login method _does not work_. However,
using your kludge of overriding calculate_extended_session_expires in
MyApp.pm _does_ work.
So I at least have a way to get it going for now, but it would be nice
to figure
Actually I've just checked the repository and seems that this bug is fixed:
http://dev.catalystframework.org/svnweb/Catalyst/revision?rev=14068
Could you confirm that you are using the latest C::P::Session and
extend_session_expires does not extend the session?
Cheers,
Dimitar
On Fri, Feb 17, 2
As far as I know that feature is broken..
you can check the bug here:
https://rt.cpan.org/Public/Bug/Display.html?id=59595
What I usually do is after the login is successful I add:
$c->session->{remember} = 1 if $c->req->param('remember');
and then in MyApp.pm I override calculate_extended_sessio
On Thu, Feb 16, 2012 at 08:42:09PM +0100, Paolo Gianrossi wrote:
> Hi Jesse,
> what I do is (blatantly taken from CatalystX::SimpleLogin source)
> something like
>
> # in Login controller, and action login
>
> my $parms = $c->request->body_parameters;
>
> if ($c->authenticate({ username => $
Hi Jesse,
what I do is (blatantly taken from CatalystX::SimpleLogin source)
something like
# in Login controller, and action login
my $parms = $c->request->body_parameters;
if ($c->authenticate({ username => $parms->{username},
password => $parms->{password
Using Catalyst::Plugin::Session, is there any way to extend a session
_longer_ than the expiry time I give in my conf file? The docs for
session_expire_key say it's only useful if _shorter_ than the default
expiry time.
The situation I'm trying to solve is basically that I have an app with
local