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
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, <firstname.lastname@example.org>
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.