Man pages sections > man3 > Dancer2::Session::Simple

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

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


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


version 0.205002


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.
2017-10-22 perl v5.26.0