Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 t
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .travis.yml
Octocat-spinner-32 Build.PL
Octocat-spinner-32 Changes
Octocat-spinner-32 LICENSE
Octocat-spinner-32 META.json
Octocat-spinner-32 README.md
Octocat-spinner-32 cpanfile
Octocat-spinner-32 minil.toml
README.md

Build Status

NAME

Plack::Session::State::URI - 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;
};

DESCRIPTION

Plack::Session::State::URI is uri-based session state

AUTHOR

Shinichiro Aska

SEE ALSO

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Something went wrong with that request. Please try again.