MojoX::Session::Store::Rose - Rose::DB::Object Store for MojoX::Session
Version 0.01
CREATE TABLE session ( sid VARCHAR(40) PRIMARY KEY, data TEXT, expires INTEGER UNSIGNED NOT NULL, UNIQUE(sid) ); my $session = MojoX::Session->new( store => MojoX::Session::Store::Rose->new( class => 'My::DB::Session' ), ... );
MojoX::Session::Store::Rose is a store for MojoX::Session that stores a session in a database using Rose::DB::Object.
MojoX::Session::Store::DBIC implements the following attributes.
my $class = $store->class; $class = $store->class(class);
Get and set Rose::RB::Object class.
Session id column name. Default is 'sid'.
Expires column name. Default is 'expires'.
Data column name. Default is 'data'.
MojoX::Session::Store::Rose inherits all methods from MojoX::Session::Store.
Insert session to database.
Update session in database.
Load session from database.
Delete session from database.
Sascha Kiefer, <perl at intertivity.com>
<perl at intertivity.com>
Please report any bugs or feature requests to bug-mojox-session-store-rose at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=MojoX-Session-Store-Rose. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-mojox-session-store-rose at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc MojoX::Session::Store::Rose
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=MojoX-Session-Store-Rose
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/MojoX-Session-Store-Rose
CPAN Ratings
http://cpanratings.perl.org/d/MojoX-Session-Store-Rose
Search CPAN
http://search.cpan.org/dist/MojoX-Session-Store-Rose/
Copyright 2010 Sascha Kiefer.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install MojoX::Session::Store::Rose, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MojoX::Session::Store::Rose
CPAN shell
perl -MCPAN -e shell install MojoX::Session::Store::Rose
For more information on module installation, please visit the detailed CPAN module installation guide.