Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/syohex/nephia-plugin-placksession
- Owner: syohex
- License: other
- Created: 2013-07-22T02:08:10.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-07-23T21:45:32.000Z (over 11 years ago)
- Last Synced: 2024-11-09T06:08:45.869Z (about 2 months ago)
- Language: Perl
- Homepage:
- Size: 57.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: Changes
- License: LICENSE
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