Subject | Re: [firebird-php] Win2003 Vs Win2k performance?? |
---|---|
Author | Milan Babuskov |
Post date | 2004-02-26T09:15:21Z |
Alan McDonald wrote:
is loaded when Apache starts. It does keep connection open all the time.
My experience is that is works exactly as explained in PHP manual:
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
> Milan - when you use pconnect, what does pconnect do when you call it againNothing. It "reuses" the previous connection.
> on subsequent pages in the website?
> [Alan McDonald] Also I imagine that pconnect is useless in the CGIYes. In CGI env. it works the same as connect()
> environment???
> Does pconnect maintain a connection until you "Unload" theI never tried to "Unload" module. I always put it in php.ini file so it
> module in isapi mode?
is loaded when Apache starts. It does keep connection open all the time.
My experience is that is works exactly as explained in PHP manual:
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