Dancer2::Session::Simple - in-memory session backend for Dancer2
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.
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.
The setting session should be set to
Simple in order to use this session engine in a Dancer2 application.
See Dancer2::Core::Session for details about session usage in route handlers.
Dancer Core Developers
This software is copyright (c) 2017 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.