Richard Hensman wrote:

>I'm not sure if this should be in CF_newbie, but here it is anyway:
>
>I have a CF server with a template timeout of 3600 seconds (one hour).  
>On this server is a page that processes a batch of user information,
>sends out some emails, updates some tables, deletes other stuff...
>Basically does a lot.
>The response is one line of text, confirming that the process has run
>successfully.  The list of WHAT was done is sent via email to the site
>admin.
>
>Now, if the user requests this page (clicks a link) after setting up all
>the info for the batch run, and the run starts, then his connection
>dies, he closes the window, or anything else that will prevent him from
>getting the confirmation (other than the script timing out after one
>hour) - will the batch still complete?  Is the processing on the server
>side going to complete even if the browser session has died in the mean
>time?
>
Yep.  That kind of task - you really don't want the users being able to kick it 
off.  Thats the kind of task that they might be able to schedule to run, but 
never let them hit a "GO" button on this task.  They can and do click on that 
go button over and over because its not finished in 30 seconds. Each time they 
click on that button CF will start trying to process that page.

Stephen



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:15:931
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/15
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:15
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to