NAME

Dancer::Session::Storable - Storable-file-based session backend for Dancer

DESCRIPTION

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.

CONFIGURATION

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

DEPENDENCY

This module depends on Storable.

AUTHOR

David Precious, <davidp@preshweb.co.uk>

ACKNOWLEDGEMENTS

Alessandro Ranellucci

onelesd

SEE ALSO

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.

COPYRIGHT

This module is copyright (c) 2010-2011 David Precious <davidp@preshweb.co.uk>

LICENSE

This module is free software and is released under the same terms as Perl itself.