Re: [PHP] Persistent connections

2013-10-26 Thread Stuart Dallas
On 25 Oct 2013, at 12:51, Nibin V M wrote: > Thank you for the quick response Stuart...one more doubt..at > http://php.net/manual/en/features.persistent-connections.php they states > > = > This means that when the same client makes a second request to the server, it > may be served by

Re: [PHP] Persistent connections

2013-10-25 Thread Stuart Dallas
On 25 Oct 2013, at 11:10, Nibin V M wrote: > I have been reading docs and many are telling that persistent connections > are kept open indefinitely. But I found in PHP docs that it will not close > after script execution like requesting a page; so should it close after > the request is over? >

Re: [PHP] Persistent connections with mysql_pconnect()

2003-03-25 Thread CPT John W. Holmes
> no, not at all... but there is a time and a place, and i don't think you > should use pconnect just because you don't want to an include at the top of > every page. You still have to call pconnect() on every page if you use it. It doesn't leave it open for other requests, it leaves it open withi

Re: [PHP] Persistent connections with mysql_pconnect()

2003-03-25 Thread skate
no, not at all... but there is a time and a place, and i don't think you should use pconnect just because you don't want to an include at the top of every page. - Original Message - From: "John Hicks" <[EMAIL PROTECTED]> To: "php" <[EMAIL PROTECTED]> Sent: Tuesday, March 25, 2003 5:11 PM S

Re: [PHP] Persistent connections and transactions

2001-01-29 Thread Nuno Silva
Frank Joerdens wrote: > On Fri, Jan 26, 2001 at 11:01:14AM +, Nuno Silva wrote: > [ . . . ] > >> i ran across this transaction problem vs. persistent conn in pgsql some time ago. >> >> I found two workaround methods: >> - don't use persistent conn's :-) or; >> - start every conn with the us

Re: [PHP] Persistent connections and transactions

2001-01-26 Thread Terrence Chay
on 1/25/01 11:49 AM, Frank Joerdens at [EMAIL PROTECTED] wrote: > On Thu, Jan 25, 2001 at 04:04:24PM -0300, Martin A. Marques wrote: > [ . . . ] >> Of course. But the persistent connection are not working as the manuals say >> they should work. > It appears this riddle has been solved: From a po

Re: [PHP] Persistent connections and transactions

2001-01-26 Thread Frank Joerdens
On Fri, Jan 26, 2001 at 11:01:14AM +, Nuno Silva wrote: [ . . . ] > i ran across this transaction problem vs. persistent conn in pgsql some time ago. > > I found two workaround methods: > - don't use persistent conn's :-) or; > - start every conn with the usual pg_pconnect and then query a ro

Re: [PHP] Persistent connections and transactions

2001-01-26 Thread Nuno Silva
Frank Joerdens wrote: > On Thu, Jan 25, 2001 at 05:10:54PM -0300, Martin A. Marques wrote: > [ . . . ] > >> OK, lets see if we can understand what each other is saying (maybe I'm not >> getting your point here). >> Lets say browser A connects to the apache server, to a page using php code. >>

Re: [PHP] Persistent connections and transactions

2001-01-25 Thread Frank Joerdens
On Thu, Jan 25, 2001 at 05:10:54PM -0300, Martin A. Marques wrote: [ . . . ] > OK, lets see if we can understand what each other is saying (maybe I'm not > getting your point here). > Lets say browser A connects to the apache server, to a page using php code. > Lets say the code is OK (no bugs).

Re: [PHP] Persistent connections and transactions

2001-01-25 Thread Martin A. Marques
El Jue 25 Ene 2001 16:49, Frank Joerdens escribió: > On Thu, Jan 25, 2001 at 04:04:24PM -0300, Martin A. Marques wrote: > [ . . . ] > > > Of course. But the persistent connection are not working as the manuals > > say they should work. > > It appears this riddle has been solved: From a post by Ada

Re: [PHP] Persistent connections and transactions

2001-01-25 Thread Frank Joerdens
On Thu, Jan 25, 2001 at 04:04:24PM -0300, Martin A. Marques wrote: [ . . . ] > Of course. But the persistent connection are not working as the manuals say > they should work. It appears this riddle has been solved: From a post by Adam Lang on pgsql-php on Dec 8: Well, there's a problem with

Re: [PHP] Persistent connections and transactions

2001-01-25 Thread Martin A. Marques
El Jue 25 Ene 2001 14:34, Frank Joerdens escribió: > On Thu, Jan 25, 2001 at 11:18:49AM -0300, Martin A. Marques wrote: > [ . . . ] > > > No, and thats why in the postgres list we talked about persistent > > connections not having much benefits. That is because the connection is > > persistent to

Re: [PHP] Persistent connections and transactions

2001-01-25 Thread Frank Joerdens
On Thu, Jan 25, 2001 at 11:18:49AM -0300, Martin A. Marques wrote: [ . . . ] > No, and thats why in the postgres list we talked about persistent connections > not having much benefits. That is because the connection is persistent to the > httpd child that called it and not to all. Well, yes, bu

Re: [PHP] Persistent connections and transactions

2001-01-25 Thread Martin A. Marques
El Jue 25 Ene 2001 10:21, Frank Joerdens escribió: > On the PostgreSQL lists there has been some discussion recently as to > the mechanism behind, benefits and drawbacks, of persistent connections. > In particular a scenario similar to the following was brought up: > > Browser A connects to Apache