NAME

Catalyst::Plugin::Session::Store::Couchbase

SYNOPSIS

use Catalyst qw{Session Session::Store::Couchbase Session::State::Cookie};
MyApp->config(
  'Plugin::Session' => {
    expires => 7200,
    couchbase_server =>  'couchbase01.domain',
    couchbase_password => 'password',
    couchbase_bucket => 'default',
    couchbase_ssl => 1,
    couchbase_certpath => '/example/certpath/cert.pem',
  },
);

CONFIG OPTIONS

couchbase_server

The Couchbase server to connect to. If there are multiple nodes in a cluster, multiple servers can be provided as a comma-delimited list (ex: host1,host2), which can improve reliability if the primary connection node is down. If the cluster is responding on a different port, it may be provided as host:port, where port is the memcached listening port.

couchbase_password

Password for the given bucket. This can be omitted if a password is not set on the given bucket.

couchbase_bucket

Bucket name to connect to. Defaults to "default" if it is not provided.

couchbase_ssl

Set to 1 if the cluster is SSL-enabled and a SSL connection is desired. SSL support requires Couchbase Server 2.5 or higher and a copy of the server's SSL certificate. Defaults to off.

couchbase_certpath

Path to the server's SSL pem-encoded certificate for validation. Not required if SSL is disabled.

couchbase_timeout

Timeout (in seconds) to allow for bootstrapping a client. Defaults to 6.

AUTHORS

Toby Corkindale, <tjc at wintrmute.net>
Nick Melnick <nick at abstractwankery.com>

BUGS

Please report any bugs to the Github repo for this module:

https://github.com/nmelnick/Catalyst-Plugin-Session-Store-Couchbase

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Catalyst::Plugin::Session::Store::Couchbase

You can also look for information at:

ACKNOWLEDGEMENTS

This module was supported by Strategic Data. The module was originally written for their internal use, and the company has allowed me to produce an open-source version.

LICENSE AND COPYRIGHT

Copyright 2013-14 Toby Corkindale, Nick Melnick.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.