Plack 0.99* dumped CGI::Simple::Cookie in cookie handling, which means you can't say expires => '+3M' etc. to set session cookie lifetime. Let's take a look at Catalyst::Plugin::Session how it deals with that.
Accept expires as seconds since new Plack::Response ditches CGI::Simple::Cookie.
Added docs and tests for it. Closed by ee51674d7247c5988d29d157068fa1aef2f515ca
Plack 0.99* dumped CGI::Simple::Cookie in cookie handling, which means you can't say expires => '+3M' etc. to set session cookie lifetime. Let's take a look at Catalyst::Plugin::Session how it deals with that.