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

Nephia::Plugin::PlackSession - Session Plugin for Nephia

SYNOPSIS

    # create project
    % nephia-setup MyApp --flavor=PlackSession

    # app.psgi
    builder {
        enable 'Plack::Middleware::Session';
        MyApp->run( $config );
    }

    # MyApp.pm
    package MyApp.pm;
    use strict;
    use warnings;
    use Nephia plugins => [
        'PlackSession'
    ];

    path '/' => sub {
        session->get($key);
        session->set($key, $value);
        session->remove($key);
        session->keys;
        session->expire;
    }

DESCRIPTION

Nephia::Plugin::PlackSession is plugin that provides session management using Plack::Session

SEE ALSO

Nephia

Plack::Session

Amon2::Plugin::Web::PlackSession

LICENSE

Copyright (C) papix.

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

AUTHOR

papix <mail@papix.net>