The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Plack::Session::Store::Echo - Echo store for Plack::Middleware::Session

SYNOPSIS

    use Plack::Builder;

    my $app = sub {
        return [200, ['Content-Type' => 'text/plain'], ['Hello!']];
    };

    builder {
        enable 'Session', state => 'Cookie', store => 'Echo';
        $app;
    };

DESCRIPTION

Sometimes you want only mark new client with cookie and don't want to store something in your sessions, so you can use this one. For any session identifier this store tells that the session exists.

This is a subclass of Plack::Session::Store and implements its full interface.

SEE ALSO

Plack::Middleware::Session.

SUPPORT

AUTHOR

Denis Ibaev dionys@cpan.org.

LICENSE

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

See http://dev.perl.org/licenses/ for more information.