Re: [phplib] Strange Connection Behavior - too many connections From: Kristian Koehntopp (kris <email protected>)
Date: 02/18/01

In netuse.lists.phplib you write:
>The part I'm unhappy about is the second call to pg_pconnect. I'm guessing
>this is happening because my application and phplib are both creating
>instances of the database abstraction object. Since the second instance
>doesn't already know that there's a valid connection id, it would try to
>establish a new connect. I'd like to avoid this at all possible.

Why? You get the same connection back again, as you can see from the
ressource id, which is #1 in both cases.

Kristian

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>