Subject | RE: [firebird-php] Win2003 Vs Win2k performance?? |
---|---|
Author | Alan McDonald |
Post date | 2004-02-26T10:41:26Z |
ibase_pconnect() acts very much like ibase_connect() with two major
differences. First, when connecting, the function will first try to find
a (persistent) link that's already opened with the same parameters. If
one is found, an identifier for it will be returned instead of opening a
new connection. Second, the connection to the InterBase server will not
be closed when the execution of the script ends. Instead, the link will
remain open for future use (ibase_close() will not close links
established by ibase_pconnect()). This type of link is therefore called
'persistent'.
--
Milan Babuskov
http://fbexport.sourceforge.net
[Alan McDonald] So you must also have to be very explicit with your commits
and/or rollbacks? Instead of relying on page script completion enforcing a
commit?
Alan
[Non-text portions of this message have been removed]
differences. First, when connecting, the function will first try to find
a (persistent) link that's already opened with the same parameters. If
one is found, an identifier for it will be returned instead of opening a
new connection. Second, the connection to the InterBase server will not
be closed when the execution of the script ends. Instead, the link will
remain open for future use (ibase_close() will not close links
established by ibase_pconnect()). This type of link is therefore called
'persistent'.
--
Milan Babuskov
http://fbexport.sourceforge.net
[Alan McDonald] So you must also have to be very explicit with your commits
and/or rollbacks? Instead of relying on page script completion enforcing a
commit?
Alan
[Non-text portions of this message have been removed]