Copy link to clipboard
Copied
We are moving to a load balanced environment, where we have multiple physical nodes sitting behind a load balancer. We are using a rule on the load balancer to pass the client ip to the nodes and an ISAPI filter to grab it for the IIS logs, but I am wondering if there is a way to get to this custom variable from within ColdFusion.
Ok then what does <cfdump var="#GetHttpRequestData()#"> get you.
Copy link to clipboard
Copied
Does it show up in the CGI scope?
I.E. <cfdump var="#cgi#">
Copy link to clipboard
Copied
It does not. I think that it gets added to the header variables, rather than replacing the ip variable. cgi.remote_addr is still the ip of the load balancer.
Copy link to clipboard
Copied
Ok then what does <cfdump var="#GetHttpRequestData()#"> get you.
Copy link to clipboard
Copied
That got me exactly what I need. Thanks!