摘要: 真正的取真实IP地址及利弊(转自百度空间)目前网上流行的所谓“取真实IP地址”的方法,都有bug,没有考虑到多层透明代理的情况。多数代码类似:string IpAddress = (HttpContext.Current.Request.ServerVariables["HTTP_X_FORWARDED_FOR"]!=null && HttpContext.Current.Request.ServerVariables["HTTP_X_FORWARDED_FOR"] !=String.Empty) ?HttpContext.Current 阅读全文
posted @ 2012-04-13 13:54 That's me 阅读(1456) 评论(0) 推荐(0) 编辑