Subject RE: [firebird-php] Re: Win32 Vs Linx
Author Alan McDonald
in several places - even on this list it has been and the php documents, the
pconnect has been accused of memory leakage or system crashes under heavy
user number use.
> And regarding persistent connections: don't!
> From my experience, I only can discourage from using those.
> PHP seems to be not very good at reusing existing connections, so it
> will open a lot of new ones, while not closing old ones.

I'lll try to find it again. Anyway - I know that ODBC drivers do not use
have persistent connections but they connect/disconnect very quickly and
even when using heavy-weight classes e.g. recordset objects, they appear to
perform faster over new pages
Alan
-----Original Message-----
From: Lester Caine [mailto:lester@...]
Sent: Monday, March 15, 2004 7:15 AM
To: firebird-php@yahoogroups.com
Subject: Re: [firebird-php] Re: Win32 Vs Linx


Alan McDonald wrote:

> It uses connect (not pconnect) and I see that pconnect is not a good
idea.

Any reason for saying that? All my pages scan the security
tables before going on, and that connection remains open and
is re-used each time - as far as I can tell. I just treat it
the same as having a connection open on the hard coded
modules - it only gets closed when the module stops -
perhaps in several months time ( I'm running 24/7
applications )

--
Lester Caine
-----------------------------
L.S.Caine Electronic Services



----------------------------------------------------------------------------
--
Yahoo! Groups Links

a.. To visit your group on the web, go to:
http://groups.yahoo.com/group/firebird-php/

b.. To unsubscribe from this group, send an email to:
firebird-php-unsubscribe@yahoogroups.com

c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



[Non-text portions of this message have been removed]