PHP 4.0 Bug #6083: odbc_pconnect($dbu, $dbp, []) will not generate a new ID on the same dbuser!

From: Date: Thu, 10 Aug 2000 21:20:54 +0000
Subject: PHP 4.0 Bug #6083: odbc_pconnect($dbu, $dbp, []) will not generate a new ID on the same dbuser!
Groups: php.dev 
Request: Send a blank email to php-dev+get-28398@lists.php.net to get a copy of this message
From: oo@tedas.de Operating system: Linux & WinNT PHP version: 4.0.0 PHP Bug Type: ODBC related Bug description: odbc_pconnect($dbu, $dbp, []) will not generate a new ID on the same dbuser! SkriptA.php contains: $conn = odbc_pconnect($dbuser1, $dbpwd1, []); SkriptB.php contains: $conn = odbc_pconnect($dbuser1, $dbpwd1, []); ... and will generate the same CONNECT_ID preventing from having several transactions by several persistant CONNECT_IDs on a database for the same user. odbc_connect has the same malfunction in one script. This "bug" - wanted or not - is implemented in the C++ - Code of PHP in, I think, "odbc_do_connect" or similar. Please check out the problem and tell me the reason of it. THANKS

« previous php.dev (#28398) next »