Using connect_cached
- From: prashanth.meka@xxxxxxxxx (Prashanth Meka)
- Date: Thu, 7 Dec 2006 10:49:00 -0600
Hi,
I am trying to find a function that will create a persistent connection.
Does connect_cached provide a persistent connection? From the CLI/ODBC
traces, it looks like this program connects two separate times to the
database:
$dbh1 = DBI->connect_cached("dbi:DB2:SAMPLE", "user", "pass");
$dbh1->disconnect;
$dbh2 = DBI->connect_cached("dbi:DB2:SAMPLE", "user", "pass");
$dbh2->disconnect;
How exactly does connect_cached function?
Thanks and regards,
Prashanth Meka
- Follow-Ups:
- Re: Using connect_cached
- From: Greg Sabino Mullane
- Re: Using connect_cached
- Prev by Date: Re: Re: Checking for infinite loops
- Next by Date: Re: Hash Manipulation
- Previous by thread: How good is PERL at searching ASCII files?
- Next by thread: Re: Using connect_cached
- Index(es):