Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 Getting users IP from when IIS is behind a fire...
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

nomad_2k
Junior Member

United Kingdom
173 Posts

Posted - 25 April 2002 :  15:12:38  Show Profile
My web host (www.freeasphost.co.uk) runs their IIS server behind an apache firewall. This means that Request.ServerVariables("REMOTE_ADDR") nolonger works properly because it returns the IP address of the apache server rather than the usere's IP address.

So I was pointed in the direction of Request.ServerVariables("HTTP_X_FORWARDED_FOR") which does return the users IP address. Problem solved.

I thought somebody might find this useful if their IIS server is behind a firewall.


Good things come to those who wait.
http://www.freeasphost.co.uk/evolution/
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.32 seconds. Powered By: Snitz Forums 2000 Version 3.4.07