The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Dancer2::Session::Memcached - Dancer 2 session storage with Cache::Memcached

VERSION

version 0.003

SYNOPSIS

  # In Dancer 2 config.yml file

  session: Memcached
  engines:
    session:
      Memcached:
        memcached_servers: 10.0.1.31:11211,10.0.1.32:11211,/var/sock/memcached
        fatal_cluster_unreachable: 0

DESCRIPTION

This module implements a session factory for Dancer 2 that stores session state within Memcached using Cache::Memcached.

ATTRIBUTES

memcached_servers (required)

A comma-separated list of reachable memcached servers (can be either address:port or socket paths).

fatal_cluster_unreachable (optional default 0)

Boolean (0|1), if memcache cluster is not reachable and fatal_cluster_unreachable is set to 1, application will croak

SUPPORT

Bugs / Feature Requests

Please report any bugs or feature requests through the issue tracker at https://github.com/dagolden/dancer2-session-memcached/issues. You will be notified automatically of any progress on your issue.

Source Code

This is open source software. The code repository is available for public review and contribution under the terms of the license.

https://github.com/dagolden/dancer2-session-memcached

  git clone git://github.com/dagolden/dancer2-session-memcached.git

AUTHOR

David Golden <dagolden@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2013 by David Golden.

This is free software, licensed under:

  The Apache License, Version 2.0, January 2004