摘要:
页面增加CDN缓存后获取用户真实IP public string GetUserIp() { string ip = HttpContext.Current.Request.ServerVariables["HTTP_X_FORWARDED_FOR"]; if (string.IsNullOrEmpty(ip) || ip.ToLower().IndexOf("unknown", System.StringComparison.Ordinal) > -1) { ip = HttpContext.... 阅读全文
posted @ 2013-02-26 14:48
百里水上
阅读(310)
评论(0)
推荐(0)

浙公网安备 33010602011771号