| Dancer-Session-Storable documentation | view source | Contained in the Dancer-Session-Storable distribution. |
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
session: Storable
session_dir: /tmp/dancer-sessions
This module depends on Storable.
David Precious, <davidp@preshweb.co.uk>
Alessandro Ranellucci
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.
| Dancer-Session-Storable documentation | view source | Contained in the Dancer-Session-Storable distribution. |