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.
The setting session should be set to Storable in order to use this session engine in a Dancer application.
Files will be stored to the value of the setting session_dir, whose default value is appdir/sessions.
Here is an example configuration that use this session engine and stores session files in /tmp/dancer-sessions
This module depends on Storable.
David Precious, <firstname.lastname@example.org>
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 <email@example.com>
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.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.