Egg::Plugin::Session - Plugin for session.
package MyApp use Egg qw/ Session /; # The session object of default is acquired. my $session= $e->session; # The object is acquired specifying the label of the session. my $session= $e->session('session_label');
It is a plugin that conveniently makes Egg::Model::Session available only a little.
The session object is returned.
The one that default with Egg::Model::Session when LABEL_NAME is omitted and has been treated is returned.
my $s= $e->session;
When LABEL_NAME is specified, the object of correspondence is returned.
my $s= $e->session('label_name');
If it is a label name that starts by 'session::', the first part can be omitted.
# For instance, if it is 'Session::myname' ... my $s= $e->session('myname');
Egg::Release, Egg::Model::Session,
Masatoshi Mizuno <lushe@cpan.org>
Copyright (C) 2008 Bee Flag, Corp. <http://egg.bomcity.com/>, All Rights Reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.
To install Egg::Plugin::SessionKit, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Egg::Plugin::SessionKit
CPAN shell
perl -MCPAN -e shell install Egg::Plugin::SessionKit
For more information on module installation, please visit the detailed CPAN module installation guide.