Re: odbc_pconnect

From: Date: Tue, 02 Apr 2002 19:40:05 +0000
Subject: Re: odbc_pconnect
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-91201@lists.php.net to get a copy of this message
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 is done! > What must I do to keep connection alive and be able to use $cx again and > again without connectign? Are you using the CGI version of PHP? I doubt any of the persistent connection functions have any meaning then. miguel

« previous php.general (#91201) next »