| Catalyst-Plugin-Session-Store-KiokuDB documentation | view source | Contained in the Catalyst-Plugin-Session-Store-KiokuDB distribution. |
Catalyst::Plugin::Session::Store::KiokuDB - Store sessions using KiokuDB
# In Catalyst
use Catalyst qw/
Session
Session::State::Whatever
Session::Store::KiokuDB
/;
# Configure it
MyApp->config->{session}->{kiokuDir} = '/path/to/storage/dir';
# or
MyApp->config->{session}->{kiokuObject} = KiokuDB->new(...);
# then use it as you would any session plugin
This session storage module will store data using KiokuDB. Aside from that it does pretty much the very same things other session modules do.
Under the session key in your configuration parameters, you can use
kiokuDir which points to a directory in which KiokuDB will store its
data, kiokuObject which allows you to reuse an existing KiokuDB instance
or kiokuModel which points the name of a Catalyst model that must be
of class Catalyst::Model::KiokuDB (typically just 'kiokudb').
These are the classic store methods from Catalyst::Plugin::Session::Store.
This one is currently a no-op.
http://github.com/mzedeler/Catalyst-Plugin-Session-Store-KiokuDB.
If you find a bug, please fork the master branch from Github, write a test case and push it to GitHub. After this, open an issue using Githubs issue tracker.
Michael Zedeler, <michael@zedeler.dk>.
Robin Berjon, <robin@berjon.com>, http://robineko.com/.
This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
| Catalyst-Plugin-Session-Store-KiokuDB documentation | view source | Contained in the Catalyst-Plugin-Session-Store-KiokuDB distribution. |