logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

       James Rouzier. <rouzier@gmail.com>

Description

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

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

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.

perl v5.36.0                                       2022-12-12                     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',
           });

See Also