> -----Original Message----- > From: Cliff Meyers [mailto:[EMAIL PROTECTED] > On the other hand, if you're going to use CFEXECUTE to invoke any long > running (or potentially long running) process you may want to > rethink that > approach. There's nothing worse that having something a task get > interrupted because the user decides to stop or refresh the > page because > it's taking too long to load. > > With an RDBMS you can use a transaction to make sure that an > interrupted > request doesn't leave your data in an improper state; I don't > know what > you could do to ensure that a CFEXECUTE call could be nearly > as robust.
You could set the cfexecute tag attribute timeout="0" to make the process execute asynchronously, outside of the control of a client request. >From the docs on cfexecute: timeout (default 0) Length of time, in seconds, that ColdFusion waits for output from the spawned program. * 0: equivalent to non-blocking mode. -Steve ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Silver Sponsor - RUWebby http://www.ruwebby.com Message: http://www.houseoffusion.com/lists.cfm/link=i:14:3784 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/14 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:14 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.14 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
