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=35c3a2e5eca76e86654ee37a2e608636c0416232;hb=c43906010576e857905834db1f840972e4f3531c;hpb=6601b0517c68bca8629f4d8e348fc6aca220f4c9 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} ) {