Sounds like you need an asynchronous messaging system... 

I don't think there is a way using just CF and CFHTTP.  Creating a
simple queue wouldn't be that hard (assuming you have some control over
server2...) Server1 would do a CFHTTP to server2 which sets a record in
a DB (in the queue) with an immediate response back to server1.  Then
you have a scheduled task on server2 that fires every so often and
completes the work based on what is pending in the DB.  

HTH,

Jeff Garza

-----Original Message-----
From: S. Isaac Dealey [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 28, 2003 9:23 PM
To: CF-Talk
Subject: cfhttp -- truncate result page 


the answer to this question is probably no, but I'm gonna ask anyway...

Does anybody know if there's a way to send a response back to a cfhttp
request to tell it "okay, this is all the content you're going to get"
and
then continue processing the page without tying up the other cf server?
...

to give an illustration, a situation where there are 2 cf servers
involved:

server1 --cfhttp--> server2 -
   ^                          |
   |--------------------------

Now ... normally what happens is server 1 doesn't receive _anything_ and
won't continue processing the page until server2 is _completely_
finished
sending the response (so just using <cfflush> on the server2 page
doesn't
work, I already know that). So as long ast server2 is running its page,
the
request on server1 is tied up and won't continue or finish processing.
If
server2 also performs a cfhttp request this could get ugly fast. What
I'd
like to do is have server1 send a request, send a response page back
from
server2 that lets server1 finish its request while server2 goes on to do
other heavy lifting stuff like other cfhttp requests...

Any thoughts greatly appreciated. :)

s. isaac dealey                954-776-0046

new epoch                      http://www.turnkey.to

lead architect, tapestry cms   http://products.turnkey.to

tapestry api is opensource     http://www.turnkey.to/tapi

certified advanced coldfusion 5 developer
http://www.macromedia.com/v1/handlers/index.cfm?ID=21816


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to