How to use Global.asax file to redirect the user?
<p>What should be done if I want to redirect a user based on their ISO Codes?</p>

<p>And how should I detect a website user's IS Code in the first place? Like I know there are these server variables that we use to detect Client IP and all (HTTP_FORWARDED_FOR, REMOTE_ADDRESS, etc) but information 
about them on the many sites that I have read has got me confused about what to use. Like some say there can be comma separated IPs returned by HTTP_FORWARDED_X and out of those IPs , one is not sure which is the real IP and which are the proxy addresses. Also, that all the IP addresses in returned can be fake.</p>

<p>So my questions are:-</p>

<ol>
<li><p>How to I fetch the REAL IP Address of a person? Like I only want to know what country a particular person is sitting so I can redirect the user accordingly. </p></li>
<li><p>Secondly lets say a person is sitting in US then I want the user to be redirected to www.mysite.us.
If a person is visiting my site from Germany, www.mysite.de is the address that I want the person to be redirected to.</p></li>
<li><p>Also if DE is the ISO Code then I want my GermanMaster.master page to load and if its US then I want that the USMaster.master should load.</p></li>
</ol>

<p>So how do I fetch a user's not fake IP address, redirect a user based on that ISO code and then load a master page according to the ISO Code.</p>

<p>How do I go about it? I haven't ever worked with Global.asax before so clueless how to go about it all. Any help will be greatly appreciated. Thanks.</p>
