Bug #804: 2 subsequent connections to same database failed
| From: | jbr at adviser dot com | Date: | Thu, 01 Oct 1998 13:31:35 +0000 |
| Subject: | Bug #804: 2 subsequent connections to same database failed | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-1581@lists.php.net to get a copy of this message | ||
From: jbr@adviser.com
Operating system: Linux 2.0.35
PHP version: 3.0.4
PHP Bug Type: ODBC related
Bug description: 2 subsequent connections to same database failed
If in the same document more than 1 call to odbc_connect are performed,
the second or subsequent calls fail witout an error. The returned id is empty. Connections with
different user/password to the same source will succeed.
Tested with adabas d database.
Sample code:
$cid = odbc_connect($server,$user,$pass);
echo "ID1=$cid<BR>";
odbc_close($cid);
$cid = odbc_connect($server,$user,$pass);
echo "ID2=$cid<BR>";
odbc_close($cid);
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net