Scroll to navigation

Dancer2::Session::Simple(3pm) User Contributed Perl Documentation Dancer2::Session::Simple(3pm)

NAME

Dancer2::Session::Simple - in-memory session backend for Dancer2

VERSION

version 0.204002

DESCRIPTION

This module implements a very simple session backend, holding all session data in memory. This means that sessions are volatile, and no longer exist when the process exits. This module is likely to be most useful for testing purposes.

DISCLAIMER

This session factory should not be used in production and is only for single-process application workers. As the sessions objects are stored in-memory, they cannot be shared among multiple workers.

CONFIGURATION

The setting session should be set to "Simple" in order to use this session engine in a Dancer2 application.

SEE ALSO

See Dancer2::Core::Session for details about session usage in route handlers.

AUTHOR

Dancer Core Developers

COPYRIGHT AND LICENSE

This software is copyright (c) 2016 by Alexis Sukrieh.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

2016-12-23 perl v5.24.1