ID:               26931
 Updated by:       [EMAIL PROTECTED]
 Reported By:      tobias dot barth at web-arts dot de
-Status:           Duplicate
+Status:           Bogus
 Bug Type:         *Database Functions
 Operating System: SuSE linux 8.2
 PHP Version:      Irrelevant
 New Comment:

duplicate status is deprecated.




Previous Comments:
------------------------------------------------------------------------

[2004-01-16 09:13:53] [EMAIL PROTECTED]

duplicate of 20298

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

[2004-01-16 05:18:08] tobias dot barth at web-arts dot de

Description:
------------
A project that uses odbc_pconnect to connect to an Sap DB 7.4 database,
gets connection errors after the database was shut down and restarted,
but the web server (with php module) is not restarted. The problem does
not occur with odbc_connect (without p).

I think the problem could be that php thinks the connections that were
opened before the database was shut down are still open, and it does
not try to open a new connection if the old one fails.

It should recognize the old connection as closed and open a new one,
and only if this attempt fails, report the error to the application
and/or the user.





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


-- 
Edit this bug report at http://bugs.php.net/?id=26931&edit=1

Reply via email to