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=479b2881600973a86055e429e4f2cbdcd8d81f6c;hp=99cf6793a50f72867ecfba2f060aafae0fd1cd95;hb=5eccd0086a4649789d8210c050e34d041cbc3115;hpb=71689a8a196f87c8b6c3a4deb71866c161712587 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} ) {