Man pages sections > man3 > CGI::Session::Driver::chi

CGI::Session::Driver::chi - This driver allows CGI::Session to use CHI as a

CGI::Session::Driver::chi(3pm) User Contributed Perl Documentation CGI::Session::Driver::chi(3pm)

NAME

CGI::Session::Driver::chi - This driver allows CGI::Session to use CHI as a session store

SYNOPSIS

$s = CGI::Session->new(
"driver:chi",
$sid, {
driver => 'File',
root_dir => '/path/to/root'
});
$s = CGI::Session->new(
"driver:chi",
$sid, {
chi_class => 'My::CHI',
namespace => 'cgi',
});

DESCRIPTION

This driver allows CGI::Session to use CHI as a session store

DRIVER ARGUMENTS

The init sub accepts a hash ref with the same arguments as would be passed to CHI, plus an additional argument, chi_class.

AUTHOR

James Rouzier. <rouzier@gmail.com> Copyright (C) 2013 James Rouzier

LICENSE

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
2015-02-02 perl v5.20.1