Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

reset the timeout

Status
Not open for further replies.

Pinan

IS-IT--Management
Jul 15, 2002
40
0
0
US
I am querying a large amount of data, and periodically, it does not return before it gets timed out.

How do I set the time before timeout longer?
 
Set the timeout of the query to the timeout length you want, note, it is in milliseconds...
 
OK, I should have been more specific. I need the syntax for it. Im kind of a newbie with cold fusion.
 
Code:
<CFQUERY..attributes here..timeout=&quot;4000&quot;>...sql statement..</CFQUERY>
would set the timeout to 4 seconds.
 
Thanks! Thats exactly what I was looking for.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top