Persistent Connections

From: Date: Wed, 21 Nov 2001 00:03:01 +0000
Subject: Persistent Connections
Groups: php.db 
Request: Send a blank email to php-db+get-14485@lists.php.net to get a copy of this message
Howdy--I have a question about persistent connections and their behavior: Apache 1.3.2 / PHP 4.0.6 - as a module Win2k I call the following function: odbc_pconnect("dsn", "user", "pass"); At the end of the script I do NOT call odbc_close($dbConn); I was doing some testing and ran into a: Maximum number of processes exceeded etc.. etc.. etc.. This is in relation to the persistent connections. Now the question is, does ODBC_CLOSE really close the connection? Or another way of asking is, does ODBC_PCONNECT look for a use an existing connection, or does it launch another one? Should I close the connection and not worry about it? Thanks RDB

« previous php.db (#14485) next »