From: Christian Hansen Date: Wed, 25 May 2005 22:26:42 +0000 (+0000) Subject: Fixed expire bug X-Git-Tag: v0.01~24 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Plugin-Session-State-Cookie.git;a=commitdiff_plain;h=ba837ef4198c38e4808c18c2be92707d99c592d4;hp=2ab0230bd699dd6c99c49057131db0970277f20e Fixed expire bug --- diff --git a/Changes b/Changes index 4d0f7c9..0ad234d 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,8 @@ Revision history for Perl extension Catalyst::Plugin::Session::FastMmap. +0.12 Xxx Xxx 00 00:00:00 EDT 2005 + - Fixed expire bug + 0.11 Thu May 26 00:00:00 EDT 2005 - Fixed expire bug 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} ) {