X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Plugin-Session-State-Cookie.git;a=blobdiff_plain;f=FastMmap.pm;h=94886f4371445b78b8a5e6ce20c5a32145b2c8b7;hp=7e48d932f0853924b47bd01657d4a5534798e1f8;hb=ba837ef4198c38e4808c18c2be92707d99c592d4;hpb=2ab0230bd699dd6c99c49057131db0970277f20e diff --git a/FastMmap.pm b/FastMmap.pm index 7e48d93..94886f4 100644 --- a/FastMmap.pm +++ b/FastMmap.pm @@ -9,7 +9,7 @@ use URI; use URI::Find; use File::Temp 'tempdir'; -our $VERSION = '0.11'; +our $VERSION = '0.12'; __PACKAGE__->mk_classdata('_session'); __PACKAGE__->mk_accessors('sessionid'); @@ -56,7 +56,7 @@ sub finalize { if ( $set ) { $c->response->cookies->{session} = { value => $sid, - expires => $c->config->{session}->{expires} . 's' + expires => '+' . $c->config->{session}->{expires} . 's' }; } if ( $c->config->{session}->{rewrite} ) {