tidenz_92110
May 31, 2011Nimbostratus
Insert header into response based on pool selected in request.
Hi Guys,
I am looking for a way to insert a header into the response based on the pool member selected in the request.
The scenario is we are implementing service stacks and the developers want to know which stack is active.
So ideally they have asked if we can output a header either a 1 or 0 depending on which stack/pool member the request is load balanced to.
I know i can match the pool member out of an data class but i am not sure of the syntax/variable that will allow me to check/log the member that the request was load balanced too.
Thanks