穿过Proxy Server得到IP
if(Request.ServerVariables["HTTP_VIA"]!=null){
string user_IP=Request.ServerVariables["HTTP_X_FORWARDED_FOR"].ToString();
}else{
string user_IP=Request.ServerVariables["REMOTE_ADDR"].ToString();
} posted on 2007-08-17 12:00 lbq1221119 阅读(287) 评论(0) 收藏 举报


浙公网安备 33010602011771号