摘要:
目前网上流行的所谓“取真实IP地址”的方法,都有bug,没有考虑到多层透明代理的情况。 多数代码类似:stringIpAddress=(HttpContext.Current.Request.ServerVariables["HTTP_X_FORWARDED_FOR"]!=null&&HttpContext.Current.Request.ServerVariables["HTTP_X_FORWARDED_FOR"]!=String.Empty)?HttpContext.Current.Request.ServerVariables[&q 阅读全文
posted @ 2011-04-21 18:04
搏击的小船
阅读(1978)
评论(2)
推荐(0)
浙公网安备 33010602011771号