Dancer2::Session::Simple - in-memory session backend for Dancer2
Contents
Configuration
The setting session should be set to "Simple" in order to use this session engine in a Dancer2
application.
Copyright And License
This software is copyright (c) 2024 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.
perl v5.40.0 2024-12-08 Dancer2::Session::Simple(3pm)
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.
Name
Dancer2::Session::Simple - in-memory session backend for Dancer2
See Also
See Dancer2::Core::Session for details about session usage in route handlers.
Version
version 1.1.2
