NAME

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

VERSION

version 0.01

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.

CREDITS

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

AUTHOR

Jason A. Crome <cromedome@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2018 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.