Re: What is the most efficient way to check if a Database handler is still valid in perl FCGI application?

David Birnbaum <[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel,gmane.spam.detected
Message-ID <[email protected]>
DBI has a standard way:
 
  $rc = $dbh->ping;

David.

------------------------------------------------------------------------

Guorui Wu wrote:
> HI,
> with Mod_perl, we can use apache::DBI,
> what is the best way to check if a database handler is still valid 
> from a previous connect in Perl FCGI application?  attempting to 
> execute a query works, but is there any other more efficient methods ?
>
> Thanks
> Galen
> ------------------------------------------------------------------------
>
> ___________________________________
> fastcgi-developers mailing list
> http://fastcgi.com/fastcgi-developers/
>

___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.