By the very nature of an asynchronous process, an especially with some of CF's asynchronous gateways, you wouldn't need or want to know the result of the call.
If you did want to know the result, the host server would have to respond within the timeout period you specify (in this case, within 1 second) and then you could parse the result. If the host server throws an unhandled exception (HTTP status code 500), you would see it in the resulting CFHTTP.StatusCode variable. I'd only use it if I was hamstrung with technical limitations and it was a requirement of some kind, but not if I had the choice. Rick... ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christopher Jordan Sent: Tuesday, March 06, 2007 8:49 AM To: Dallas/Fort Worth ColdFusion User Group Mailing List Subject: Re: [DFW CFUG] CFHTTP for quasi-asynchrony Hmm.... I'd never heard of that before, and while it sounds cool, it also sounds a bit flaky. Do you ever get control of that child process again, or does it just go off into never-never land? Meaning, if there's ever an error with that child process, will you ever be notified? Can you ever have that child process return data to the main application? I don't think I would use it, but I'm interested in the opinion of some of the more experienced guru's out there. :o) Cheers, Chris Daniel Eben Elmore wrote: It appears that CFHTTP can be used to send off a request asynchronously by setting the timeout value to 1 sec. CF will return connection time data to the parent page but the child request will still run up until the CF admin timeout value. The question: Am I crazy for building on top of such a "feature"? Anyone used this before? -Daniel Elmore _______________________________________________ Reply to DFWCFUG: [email protected] Subscribe/Unsubscribe: http://lists1.safesecureweb.com/mailman/listinfo/list List Archives: http://www.mail-archive.com/list%40list.dfwcfug.org/ http://www.mail-archive.com/list%40dfwcfug.org/ DFWCFUG Sponsors: www.instantspot.com/ www.teksystems.com/ -- http://www.cjordan.us
_______________________________________________ Reply to DFWCFUG: [email protected] Subscribe/Unsubscribe: http://lists1.safesecureweb.com/mailman/listinfo/list List Archives: http://www.mail-archive.com/list%40list.dfwcfug.org/ http://www.mail-archive.com/list%40dfwcfug.org/ DFWCFUG Sponsors: www.instantspot.com/ www.teksystems.com/
