ODBC Timout for MS SQL Driver
| From: | USA) | Date: | Mon, 03 Mar 2003 18:00:40 +0000 |
| Subject: | ODBC Timout for MS SQL Driver | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-26065@lists.php.net to get a copy of this message | ||
Does anyone know a reliable way to set an ODBC connection to timeout after a very short time?
I've tried set_time_limit but when the query is running PHP does not drop out, I've also
tried odbc_setoption on the connection before executing. Basically, I want it to just fail quicker
if it is going to. 30 seconds is too long.
<>< Ryan
Ryan Jameson
Software Development Services Manager
International Bible Society
W (719) 867-2692