Our Cf servers live behind a load balancer. We have an app that makes a cfhttp call to an outside web server. The problem occurs when the data returned comes back through the load balancer and doesn't always return back to the originating server. Is there a way to ensure that the returned data returns to the correct server?
That's kind of odd, because by default, load balancers don't have anything to do with outbound traffic. If your app makes a CFHTTP call to an external server, it should be using its own IP address and not that of the load balancer, and the CFHTTP response should go to that IP address.
That said, you could work this out by having your server attach some sort of token, and have your load balancer use that token to figure out which server should receive the response. That's basically how "sticky sessions" work in load balancing. Without knowing more about what's going on, my response is going to be a bit vague here, but that's the approach I'd look at.