CGI::Session::Driver::aggregatorCGI::Session driver to aggregate some CGI::Session drivers | |
Download |
CGI::Session::Driver::aggregator Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Kazuhiro Oinuma
- Publisher web site:
- http://search.cpan.org/~oinume/
CGI::Session::Driver::aggregator Tags
CGI::Session::Driver::aggregator Description
CGI::Session driver to aggregate some CGI::Session drivers CGI::Session::Driver::aggregator is a CGI::Session driver to aggregate some CGI::Session drivers.SYNOPSIS use CGI::Session; use CGI::Session::Driver::aggregator::Drivers; use DBI; $dbh = DBI->connect('DBI:mysql:cgi_session;host=localhost', 'root', ''); $drivers = CGI::Session::Driver::aggregator::Drivers->new; $drivers->add('file', { Directory => '/tmp' }); $drivers->add('mysql', { Handle => $dbh }); $s = CGI::Session->new('driver:aggregator', $sid, { Drivers => $drivers }); $s->param(hey => 'Blur blur blur!'); # ----> Store datas into mysql and file!! $value = $s->param('hey'); # ----> Read datas from file (When cannot find, then from mysql) Requirements: · Perl
CGI::Session::Driver::aggregator Related Software