Fixed expire bug
Christian Hansen [Wed, 25 May 2005 21:52:57 +0000 (21:52 +0000)]
Changes
FastMmap.pm

diff --git a/Changes b/Changes
index b13cab9..92bd26f 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,7 +1,11 @@
 Revision history for Perl extension Catalyst::Plugin::Session::FastMmap.
 
+0.11 Xxx Xxx 00 00:00:00 EDT 2005
+        - Fixed expire bug
+
 0.10 Mon May 23 22:35:41 EDT 2005
         - expire cookie at same time as session (Jesse Sheidlower)
+        
 0.09  Mon Apr 18 22:00:00 2005
         - s/output/body/ (Frank Wiegand)
 
@@ -10,14 +14,18 @@ Revision history for Perl extension Catalyst::Plugin::Session::FastMmap.
         - Added POD tests.
         - Fixed arguments to Cache::FastMmap.
           IMPORTANT: The config parmeters has changed, backwards incompatible.
+
 0.07  Wed Mar 28 21:17:00 2005
         - Fixed urlrewrite on redirect.
+
 0.06  Wed Mar 09 00:48:00 2005
         - Added option for disabling url rewrite
         - Documented config options
+
 0.05  Tue Mar 08 12:39:00 2005
         - fix bug with old sessions after server restart.
         -  Fixed useless warning on missing output
+
 0.04  Wed Feb 16 22:00:00 2005
         - added tempdir support (Marcus Ramberg)
 
index 99cf679..479b288 100644 (file)
@@ -9,7 +9,7 @@ use URI;
 use URI::Find;
 use File::Temp 'tempdir';
 
-our $VERSION = '0.10';
+our $VERSION = '0.11';
 
 __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}
+                expires => $c->config->{session}->{expires} . 's'
             };
         }
         if ( $c->config->{session}->{rewrite} ) {