Dancer2::Session::Simple(3)

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

VERSION
version 2.0.1

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) 2025 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.