views:

39

answers:

0

Scenario: The infrastructure that a website is built on consists of a web farm fronted with ISA servers, these ISA servers terminate the SSL of any given website and the requests between the ISA server and the IIS7 servers are always over port 80 (http).

Therefore: Customer > [https] > ISA > [http] > WebFarm(IIS)

Question: Is it possible to retrieve the protocol information from the original request (from customer to ISA) in C# because IIS will always think that the request is being made over http (as it is).

I could obviously do this using javascript but for various reasons (when the information is required in the page lifecycle etc.) I want to be able to do it prior to rendering/presentation.

My thoughts: It feels to me like some information might have to be added to the header information while being passed through ISA to IIS.