Date: 02/18/01
- Next message: Rowel Lirag: "[phplib] need help..."
- Previous message: Matt Friedman: "[phplib] Strange Connection Behavior - too many connections"
- In reply to: Matt Friedman: "[phplib] Strange Connection Behavior - too many connections"
- Next in thread: Rowel Lirag: "[phplib] need help..."
- Reply: Rowel Lirag: "[phplib] need help..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Next message: Rowel Lirag: "[phplib] need help..."
- Previous message: Matt Friedman: "[phplib] Strange Connection Behavior - too many connections"
- In reply to: Matt Friedman: "[phplib] Strange Connection Behavior - too many connections"
- Next in thread: Rowel Lirag: "[phplib] need help..."
- Reply: Rowel Lirag: "[phplib] need help..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

