From: Christian Hansen Date: Fri, 27 May 2005 22:19:21 +0000 (+0000) Subject: removed cookie expiriation X-Git-Tag: v0.01~21 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Plugin-Session-State-Cookie.git;a=commitdiff_plain;h=c43906010576e857905834db1f840972e4f3531c removed cookie expiriation --- diff --git a/Changes b/Changes index eef2fce..dfa5402 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,8 @@ Revision history for Perl extension Catalyst::Plugin::Session::FastMmap. +0.13 Xxx Xxx 00 00:00:00 EDT 2005 + - Remove cookie expiriation since it introduced a bug. + 0.12 Thu May 26 00:37:00 EDT 2005 - Seconds it should be. diff --git a/FastMmap.pm b/FastMmap.pm index 35c3a2e..0373fff 100644 --- a/FastMmap.pm +++ b/FastMmap.pm @@ -9,7 +9,7 @@ use URI; use URI::Find; use File::Temp 'tempdir'; -our $VERSION = '0.12'; +our $VERSION = '0.13'; __PACKAGE__->mk_classdata('_session'); __PACKAGE__->mk_accessors('sessionid'); @@ -55,8 +55,7 @@ sub finalize { } if ( $set ) { $c->response->cookies->{session} = { - value => $sid, - expires => '+' . $c->config->{session}->{expires} . 's' + value => $sid }; } if ( $c->config->{session}->{rewrite} ) {