The Coldfusion server is set up to timeout processing after a certain length of time, to protect against say, an infinate loop.
Is there something I can write into one of my pages to extend that time-length? I've got a form that gathers data and uploads them to our server, and I send the data in as two long strings (comma delimited) which is the data that gets inserted into the tables. This list might grow to a couple hundred entries at a time, and sometimes times out the server and cannot complete.
Or maybe is there a fast way to take a list and pull out the items one by one? This is the loop that is processed:
Is there something I can write into one of my pages to extend that time-length? I've got a form that gathers data and uploads them to our server, and I send the data in as two long strings (comma delimited) which is the data that gets inserted into the tables. This list might grow to a couple hundred entries at a time, and sometimes times out the server and cannot complete.
Or maybe is there a fast way to take a list and pull out the items one by one? This is the loop that is processed:
Code:
<cfloop from="1" to="#listlen(FORM.tracking)#" index="i">
<cfquery datasource="zeronine" name="addtracks">
INSERT INTO ups (tracking, reference)
VALUES ('#trim(ListGetAt(FORM.tracking,i))#', '#trim(ListGetAt(FORM.reference,i))#')
</cfquery>
</cfloop>