NAME

Dancer2::Session::CHI - Dancer 2 session storage with CHI backend

VERSION

version 0.05

SYNOPSIS

# In Dancer 2 config.yml file
session: CHI
engines:
    session:
        CHI:
            driver: FastMmap
            root_dir: '/tmp/dancer-sessions'
            cache_size: 1k

DESCRIPTION

This module implements a session factory for Dancer2 that stores session state using CHI.

ATTRIBUTES

driver (required)

The backend driver CHI will use to store the session data. Any additional attributes beyond the driver will be passed as additional configuration parameters to CHI.

SEE ALSO

CREDITS

This is heavily based on Dancer2::Session::Memcached by David Golden and Yanick Champoux.

Contributors

The following people have contributed to Dancer2::Session::CHI in some way, either through bug reports, code, suggestions, or moral support:

andk
Mohammad S Anwar

AUTHOR

Jason A. Crome <cromedome@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2023 by Jason A. Crome.

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