note 23302 added to function.odbc-pconnect

From: Date: Mon, 15 Jul 2002 08:42:04 +0000
Subject: note 23302 added to function.odbc-pconnect
Groups: php.notes 
Request: Send a blank email to php-notes+get-33069@lists.php.net to get a copy of this message
I saw that closing an ODBC persistent connection opened with odbc_pconnect() with odbc_close() doesnt work. Someone here have proposed using odbc_close_all() but wouldnt that close all persistent connections (also others ones !!!) ? What about catching a persistent handle with odbc_connect() and then closing the connection with odbc_close() ? If there are no available handles (for some reason the last pconn has been closed) this approach opens and close a normal single-script connection. Waiting comments... -- http://www.php.net/manual/en/function.odbc-pconnect.php http://master.php.net/manage/user-notes.php?action=edit+23302 http://master.php.net/manage/user-notes.php?action=delete+23302 http://master.php.net/manage/user-notes.php?action=reject+23302

« previous php.notes (#33069) next »