I need to get the ip address of the users of my website, because I need to present localized content according to country.
I have a load balancing server and because this I use the HTTP_X_FORWARDED_FOR to get the ip address, its ok, but since I set the HTTPS for the entire site I cannot get the HTTP_X_FORWARDED_FOR data, it returns empty, and only can get the REMOTE_ADDR, but this returns the Load Balancing Server ip address and not the user ip address.
How I can get the user's ip address when using load balancing and HTTPS?
I'm using ASP.NET 2.0