X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Plugin-Session-State-Cookie.git;a=blobdiff_plain;f=FastMmap.pm;h=0373ffff15a54c4f4ed7b7a3648b922c2d09bc35;hp=479b2881600973a86055e429e4f2cbdcd8d81f6c;hb=c43906010576e857905834db1f840972e4f3531c;hpb=5eccd0086a4649789d8210c050e34d041cbc3115 diff --git a/FastMmap.pm b/FastMmap.pm index 479b288..0373fff 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.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} ) {