穿过代理服务器取远程用户真实IP地址:
摘要:
if(Request.ServerVariables["HTTP_VIA"]!=null){ stringuser_IP=Request.ServerVariables["HTTP_X_FORWARDED_FOR"].ToString(); }else{ stringuser_IP=Request.ServerVariables["REMOTE_ADDR"].ToString(); }... 阅读全文
posted @ 2005-03-04 14:45 .Dove 阅读(694) 评论(1) 推荐(0) 编辑