Re: [PHP4BETA] No PHP Support

From: Date: Mon, 29 Nov 1999 21:30:12 +0000
Subject: Re: [PHP4BETA] No PHP Support
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-7066@lists.php.net to get a copy of this message
Rasmus Lerdorf wrote: > > > /* XXX we should ensure that the connection is still available */ > > db_conn = (odbc_connection *)le->ptr; > > > > Now the simple solution is to disable the time-outs in our server, > > however, I wondered if people thought it was worth adding some code to > > check the connection, and purge it if it has gone down since it was > > last used. > > I think it is a good thing to do. We do it in some of the other db > extensions that have persistent connection support. > > -Rasmus OK, I have done a quick hack to try it out, I will test it more tomorrow, I am simply testing by doing a SQLGetInfo, if that fails, I was removing it from the hash list and trying again.

« previous php.version4 (#7066) next »