通过下面的语句可以获取客户端ip
CustomerIP=HttpContext.Current.Request.ServerVariables["HTTP_X_FORWARDED_FOR"].ToString()
CustomerIP=HttpContext.Current.Request.ServerVariables["HTTP_X_FORWARDED_FOR"].ToString()
4321
677

被折叠的 条评论
为什么被折叠?