protected void Page_Load(object sender, EventArgs e)
{
string ip = Request.ServerVariables["HTTP_X_FORWARDED_FOR"];
if (string.IsNullOrEmpty(a))
{
ip = Request.ServerVariables["REMOTE_ADDR"];
}
}
{
string ip = Request.ServerVariables["HTTP_X_FORWARDED_FOR"];
if (string.IsNullOrEmpty(a))
{
ip = Request.ServerVariables["REMOTE_ADDR"];
}
}
浙公网安备 33010602011771号