NAME
CGI::Session::Driver::aggregator - 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 file and mysql!!
$value = $s->param('hey');
# ----> Read datas from file (When cannot find, then from mysql)
DESCRIPTION
aggregator stores session data into anything to be set up.
DRIVER ARGUMENTS
The only supported driver argument is 'Drivers'. It's an instance of CGI::Session::Driver::aggregator::Drivers.
REQUIREMENTS
AUTHOR
Kazuhiro Oinuma <oinume@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2005 - 2006 Kazuhiro Oinuma <oinume@cpan.org>. All rights reserved. This library is free software. You can modify and or distribute it under the same terms as Perl itself.