Plack::Session::State::URI is an URI-based session state.
SYNOPSIS
use Plack::Builder;
use Plack::Session::Store::File;
use Plack::Session::State::URI;
my $app = sub {
return [ 200, [ 'Content-Type' => 'text/plain' ], [ 'Hello Foo' ] ];
};
builder {
enable 'Plack::Middleware::Session',
store => Plack::Session::Store::File->new(
dir => File::Temp->tempdir( 'XXXXXXXX', TMPDIR => 1, CLEANUP => 1 )
),
state => Plack::Session::State::URI->new(
session_key => 'sid'
);
$app;
};
Product's homepage
Requirements:
· Perl