Skip to Content.
Sympa Menu

freetds - Re: php pconnect

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Kaeptn Weltall" <rl AT w4u.com>
  • To: freetds AT franklin.oit.unc.edu
  • Subject: Re: php pconnect
  • Date: Wed, 16 Jan 2002 09:05:49 -0500


Brian,
what does then www.php.net mean with its documentation of
the "sybase_pconnect()" function:
-->
First, when connecting, the function would first try to find a
(persistent) link that's already open with the same host, username and
password. If one is found, an identifier for it will be returned instead
of opening a new connection.

Second, the connection to the SQL server will not be closed when the
execution of the script ends. Instead, the link will remain open for
future use (sybase_close() will not close links established by
sybase_pconnect()()).
<--
Thus, if there's NO (persistant)connection ONE will be established.
If there's ONE, no additional will be opened.
So how would you establish more than ONE connection, only using
sybase_pconnect()??




Archive powered by MHonArc 2.6.24.

Top of Page