From: Christian Hansen Date: Wed, 25 May 2005 21:52:57 +0000 (+0000) Subject: Fixed expire bug X-Git-Tag: v0.01~26 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Plugin-Session-State-Cookie.git;a=commitdiff_plain;h=5eccd0086a4649789d8210c050e34d041cbc3115;hp=71689a8a196f87c8b6c3a4deb71866c161712587 Fixed expire bug --- diff --git a/Changes b/Changes index b13cab9..92bd26f 100644 --- 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) diff --git a/FastMmap.pm b/FastMmap.pm index 99cf679..479b288 100644 --- a/FastMmap.pm +++ b/FastMmap.pm @@ -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} ) {