Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/syohex/nephia-plugin-placksession

Session Plugin for Nephia
https://github.com/syohex/nephia-plugin-placksession

Last synced: about 19 hours ago
JSON representation

Session Plugin for Nephia

Awesome Lists containing this project

README

        

# 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](http://search.cpan.org/perldoc?Nephia)

[Plack::Session](http://search.cpan.org/perldoc?Plack::Session)

[Amon2::Plugin::Web::PlackSession](http://search.cpan.org/perldoc?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