I haven't used it in the same context but I run a scheduled task which puts 
the cfhttp in a separate thread. Running it like below runs the task once as 
soon as it's created so it might work.

  <cfschedule action = "update"
     task = "taskName"
     operation = "HTTPRequest"
     url = "#url#"
     startDate = "#lsdateformat(now(),'mm/dd/yyyy')#"
     startTime = "#lstimeformat(now(),'HH:mm')#"
     interval = "once"
     requestTimeOut = "60" />



----- Original Message ----- 
From: "Andrew Dixon" <[EMAIL PROTECTED]>
To: "CF-Talk" <[email protected]>
Sent: Thursday, April 06, 2006 9:11 PM
Subject: Multithreading within a request


Hi All.

Is it possible to multithread within a single request. For example, I would
like to make multiple http requests to a web service, but at the moment they
run one after the other, taken about 3 seconds each, but if I could run them
both at the same time it would improve the performance of the script
greatly, any ideas on how this could be done?

Kind regards,

Andrew




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237135
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to