摘要: Uri u = context.Request.UrlReferrer;//访问来源地址string ip = context.Request.UserHostAddress;//访问来源IPstring serverHost = context.Request.Url.Host;//当前访问主机地址 string localIP=System.Configuration.ConfigurationManager.AppSettings["LocalIP"];if (u == null || u.Host.ToLower() != serverHost.ToLower(). 阅读全文
posted @ 2012-12-11 21:18 一千零一夜 阅读(248) 评论(0) 推荐(0) 编辑