Skip to Content.
Sympa Menu

freetds - Re: persistent connection

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: James Cameron <cameron AT stl.dec.com>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: Re: persistent connection
  • Date: Thu, 31 Aug 2000 08:54:08 +1100


Daniel Bruce Lynes wrote:
> That's a PHP error, I believe...check your php.ini file for this.

Also consider this line of PHP code ...

set_time_limit (20);

This will reset the timer when it is executed. The new expiry will be
20 seconds.

Placing one of these just before a long duration database call may help,
but carefully choose how long you are prepared to wait.

Placing a reset for five seconds inside a database-reading loop may
help, but make sure you have some limit coded to exit the loop if you
get too many records.

--
James Cameron (cameron AT stl.dec.com)

http://www.linux.org/ http://www.linux.org.au/ http://www.freshmeat.net/




Archive powered by MHonArc 2.6.24.

Top of Page