Hi,
you do not say so, but I suppose you use DBI. In that case, if your database driver implements it, you could use the ping() method to check the connection.
What would you like to do, is (more or less) the same thing that the Apache::DBI module do. Maybe you could get inspiration from that module (I only use it, never went into his bowels)
Cheers
In reply to Re: Sharing database handle
by TheHobbit
in thread Sharing database handle
by Marcello
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |