Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^2: CGI::Session + DBD::SQLite = closing dbh with active statement handles

by bash (Scribe)
on Feb 02, 2008 at 23:12 UTC ( [id://665776]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    
    ...
    my $dbh = DBI->connect('dbi:SQLite:dbname=db/sessions.db');
    print Dumper(get_session($dbh));
    $dbh->disconnect;
    
  2. or download this
    DBI::db=HASH(0x87a79c)->disconnect invalidates 1 active statement hand
    +le (either destroy statement handles or call finish on them before di
    +sconnecting) at ./decode_sessions.pl line 26.
    closing dbh with active statement handles at ./decode_sessions.pl line
    + 26.
    
  3. or download this
    closing dbh with active statement handles at ./decode_sessions.pl line
    + 26.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://665776]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (4)
As of 2024-04-19 00:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found