Re: [PHP] odbc_pconnect doesnt reuse connection

2002-04-03 Thread eric.coleman
al Message - From: "Maris Kalnins" <[EMAIL PROTECTED]> To: <> Sent: Wednesday, April 03, 2002 10:11 AM Subject: Re: [PHP] odbc_pconnect doesnt reuse connection > because odbc_connect takes some time to establish connection > while odbc_pconnect establishes it once

Re: [PHP] odbc_pconnect doesnt reuse connection

2002-04-03 Thread Maris Kalnins
because odbc_connect takes some time to establish connection while odbc_pconnect establishes it once after that it suppose to give faster access through already existing connection! that's what I got from php manual.. the bad thing is .. that in reality it works a little bit different.. so I am w

Re: [PHP] odbc_pconnect doesnt reuse connection

2002-04-03 Thread eric.coleman
Why won't you just use odbc_connect ? - Original Message - From: "Maris Kalnins" <[EMAIL PROTECTED]> To: < Sent: Wednesday, April 03, 2002 3:07 AM Subject: [PHP] odbc_pconnect doesnt reuse connection > Hi! > > Configuration: WinXP, the latest Apache, PHP4 > > The problem is that every ti

Re: [PHP] odbc_pconnect

2002-04-02 Thread Maris Kalnins
thanks, I configured php under apache as a module now connection doesn't disappear after script is done it stays alive.. now another problem: first time I open connection this way.. if (empty($cx)){ $cx=odbc_pconnect($G_dbname, $G_dblogin, $G_dbpassw); } if next time i will use the same constr

Re: [PHP] odbc_pconnect

2002-04-02 Thread Miguel Cruz
On Tue, 2 Apr 2002, Maris Kalnins wrote: > Yes I am using CGI... > So that means under Windows using Apache Server it is impossible to do that? Can't PHP be run as a module under Apache for Windows? miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php

Re: [PHP] odbc_pconnect

2002-04-02 Thread Maris Kalnins
Yes I am using CGI... So that means under Windows using Apache Server it is impossible to do that? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] odbc_pconnect

2002-04-02 Thread Miguel Cruz
On Tue, 2 Apr 2002, Maris Kalnins wrote: > I have a situation where I need to keep connection still active after php > script is done and page displayed! > I tried to use > > $cx=odbc_pconnect($G_dbname, $G_dblogin, $G_dbpassw); > > But unfortunately connection closes automatically when script i