Dancer::Session::Storable - Storable-file-based session backend for Dancer
This module implements a session engine by using Storable to serialise data into files. Sessions are stored in a session_dir as Storable files.
Storable offers solid performance and reliable serialisation of various data structures.
Storable::nstore is used to store in network byte order, so sessions are portable between different systems of differing endianness.
Storable::nstore
The setting session should be set to Storable in order to use this session engine in a Dancer application.
Storable
Files will be stored to the value of the setting session_dir, whose default value is appdir/sessions.
session_dir
appdir/sessions
Here is an example configuration that use this session engine and stores session files in /tmp/dancer-sessions
session: Storable session_dir: /tmp/dancer-sessions
This module depends on Storable.
David Precious, <davidp@preshweb.co.uk>
Alessandro Ranellucci
onelesd
See Dancer::Session for details about session usage in route handlers, and Dancer for general information on the Dancer web framework. See Storable for details on how the Storable serialiser works.
This module is copyright (c) 2010-2011 David Precious <davidp@preshweb.co.uk>
This module is free software and is released under the same terms as Perl itself.
To install Dancer::Session::Storable, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dancer::Session::Storable
CPAN shell
perl -MCPAN -e shell install Dancer::Session::Storable
For more information on module installation, please visit the detailed CPAN module installation guide.