NAME

CGI::Persist::DBI - A DBI interface to CGI::Persist

SYNOPSIS

  my $dbh = DBI->connect($dsn);
  my $cgi = CGI::Persist::DBI->new(dbh => $dbh,
				   sessionTime => 3600,
				   logFile => "/path/to/file")

DESCRIPTION

Enables you to store web-sessions in any database your DBI can understand. Gives you full access to the CGI interface.

See CGI::Persist for more information

FUNCTIONS

dbh

The database handle as an object.

driver

The driver DBI has to use.

db

The database DBI has to use.

host

The host DBI has to use.

user

The user DBI has to use.

pass

The pass(word) DBI has to use.

No need to mention, I am sure, that if you specify dbh() validly, you do _not_ need to specify any of the others.

KNOWN BUGS

  • Database has gone away

    Seems that sometimes when multiple instances of CGI::Persist::DBI live along side the database goes away... This only happens with MySQL databases (to my knowledge at least)

AUTHOR

Hartog C. de Mik <hartog@2organize.com>