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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php