Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

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

by bash (Acolyte)
on Feb 02, 2008 at 23:12 UTC ( #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
Node Status?
node history
Node Type: note [id://665776]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (17)
As of 2015-07-07 21:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls