Re: Apache::DBI disconnect?

2000-04-25 Thread Perrin Harkins
"John S. Evans" wrote: Weird. The whole point of Apache::DBI (or so I understand it) is so that your $dbh stays valid across CGI or Handler calls. That's right. The disconnect call is a no-op when using Apache::DBI. I can only think of two reasons why I get the error message: 1) My

Re: Apache::DBI disconnect?

2000-04-25 Thread Tom Mornini
On Mon, 24 Apr 2000, John S. Evans wrote: Weird. The whole point of Apache::DBI (or so I understand it) is so that your $dbh stays valid across CGI or Handler calls. Sure. But it does it magically. You're still supposed to call disconnect. That way, your code will also work without

Apache::DBI disconnect?

2000-04-24 Thread John S. Evans
I've been using the Apache::DBI module, and it works great. However, I've noticed that my error_log file has an occasional message that tells me: Database handle destroyed without explicit disconnect at /usr/local/lib/perl5/site_perl/5.005/Apache/DBI.pm line 119. The "offending" line of code