in reply to CGI::Session::Auth::DBI Error

You should check that the objects you are creating with:

my $dbh = DBI->connect("DBI:PgPP:dbname=db","username","password"); my $session = new CGI::Session("driver:PostgreSQL", undef, {Handle=> +$dbh});
are defined.

/J\

Replies are listed 'Best First'.
Re^2: CGI::Session::Auth::DBI Error
by awohld (Hermit) on May 19, 2006 at 09:51 UTC
    I added:
    my $dbh = DBI->connect("DBI:PgPP:dbname=gpsrd","test","test"); print "Error\n" if ( not defined $dbh ); my $session = new CGI::Session("driver:PostgreSQL", undef, {Handle=> +$dbh}); print "Error\n" if ( not defined $session );
    And I don't get any errors that say they aren't defined.