Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

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

by bash (Scribe)
on Feb 02, 2008 at 09:52 UTC ( [id://665714]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    ...
        "91b85831787f534e3f9b6448da10af18",
        {DataSource => 'db/sessions.db'}
    ) or die (CGI::Session->errstr);
    
  2. or download this
    DBI::db=HASH(0x89601c)->disconnect invalidates 1 active statement hand
    +le (either destroy statement handles or call finish on them before di
    +sconnecting) at /Library/Perl/5.8.8/CGI/Session/Driver/DBI.pm line 13
    +3.
    closing dbh with active statement handles at /Library/Perl/5.8.8/CGI/S
    +ession/Driver/DBI.pm line 133.
    
  3. or download this
    /Library/Perl/5.8.8/CGI/Session/Driver/DBI.pm:
    [...]
    ...
        return $row;
    }
    [...]
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2025-03-26 21:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When you first encountered Perl, which feature amazed you the most?










    Results (68 votes). Check out past polls.

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.