Perrin Harkins wrote:
> On Thu, 2005-06-23 at 11:29 +0200, Jan Eden wrote:
> 
>>Everything works - but how can I know if Apache::DBI really keeps my
>>database connection alive?
> 
> Turn on the debugging for Apache::DBI and check your error_log.  See the
> Apache::DBI docs for instructions.

Alternatively, enable Apache2::Status

http://perl.apache.org/docs/2.0/api/Apache2/Status.html#Description

And as long as you load Apache2::Status before Apache::DBI, you should
get a new menu option to see the cached connection from the Apache::Status
main page.

--------------------------------------------------------------------------------
Philippe M. Chiasson m/gozer\@(apache|cpan|ectoplasm)\.org/ GPG KeyID : 88C3A5A5
http://gozer.ectoplasm.org/     F9BF E0C2 480E 7680 1AE5 3631 CB32 A107 88C3A5A5

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to