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=35c3a2e5eca76e86654ee37a2e608636c0416232;hp=99cf6793a50f72867ecfba2f060aafae0fd1cd95;hb=6f9d2cbb399777a48a91164a56f9ba0d3a18eed2;hpb=c9fb61f355008ebd65bbdaee8c387895c8c24343 diff --git a/FastMmap.pm b/FastMmap.pm index 99cf679..35c3a2e 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.12'; __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} ) {