Yup, works a treat!
On 21 Oct 2009, at 22:35, Stefan Richter wrote: > > Excellent, thanks, Dave. > So I don't have to worry about merging threads back together or stuff > like that? Because that scared me when I read up on it. But kicking > off one thread looks doable even to me :-) > > Rick, I had your model in mind too but wanted to avoid any kind of > polling if possible (got enough of that already for other parts of the > app :-) > > Thanks all, I'll test cfthread tomorrow and report back with results > (and also when the site is up). > This list rocks. > > Cheers > > Stefan > > > > On 21 Oct 2009, at 14:50, Dave Watts wrote: > >> >>> How could I change this so that the response is sent first, and then >>> the conversion kicked into life? The Flex client can later check the >>> conversion status itself by polling the database. >> >> This is a perfect job for CFTHREAD. Put the PDF generation code >> within >> CFTHREAD. and simply return a "job accepted" message after launching >> the thread. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327492 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4