摘要: if(Context.Request.ServerVariables["HTTP_VIA"]!=null)//usingproxy{ip=Context.Request.ServerVariables["HTTP_X_FORWARDED_FOR"].ToString();//ReturnrealclientIP.}else//notusingproxyorcan'tgettheClientIP{ip=Context.Request.ServerVariables["REMOTE_ADDR"].ToString();//Whil 阅读全文
posted @ 2014-01-10 16:42 *一线天 阅读(223) 评论(0) 推荐(0) 编辑