We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
$env->{'psgix.session.options'}->{expires} = time + 60 * 60 * 24 * 365 * 10; # or whatever 'permanent' means for you
Or
$req->session->options->{expires} = ...; # $req is a Plack::Request
The Plack::Session::State::Cookie expires attribute defines the default 'expires' length used when the runtime $env doesn't have one.