CGI::Session::Driver::chi(3pm) | User Contributed Perl Documentation | CGI::Session::Driver::chi(3pm) |
CGI::Session::Driver::chi - This driver allows CGI::Session to use CHI as a session store
$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',
});
This driver allows CGI::Session to use CHI as a session store
The init sub accepts a hash ref with the same arguments as would be passed to CHI, plus an additional argument, chi_class.
James Rouzier. <rouzier@gmail.com>
Copyright (C) 2013 James Rouzier
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.
2022-12-12 | perl v5.36.0 |