persistent connection
James Cameron
cameron at stl.dec.com
Wed Aug 30 17:54:08 EDT 2000
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/
More information about the FreeTDS
mailing list