Fixed expire bug
Christian Hansen [Wed, 25 May 2005 22:26:42 +0000 (22:26 +0000)]
Changes
FastMmap.pm

diff --git a/Changes b/Changes
index 4d0f7c9..0ad234d 100644 (file)
--- 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
 
index 7e48d93..94886f4 100644 (file)
@@ -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} ) {