Created
May 4, 2018 03:35
-
-
Save pmachapman/137e12b6df57460e00e3b8361638cac4 to your computer and use it in GitHub Desktop.
A simple test script to get what the forwarded IP address is
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<% @Page Language="C#" %> | |
<% | |
Response.Write("'" + System.Web.HttpContext.Current.Request.ServerVariables["HTTP_X_FORWARDED_FOR"].Split(',')[0] + "'"); | |
%> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment