The question is - Should I disconnect from database at the end of the script? - If this script called very often, is it possible to keep this connection alive, to save time on connections?while ( new CGI::Fast ) { my $dbh = DBI->connect( ); # some work with mysql # generating of HTML output }
In reply to FastCGI DBI connect/disconnect by luxs
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |