摘要: Global.cs 获取网址void Application_Start(object sender, EventArgs e) {string url = HttpContext.Current.Request.ServerVariables["Http_Host"].ToString(); } 阅读全文
posted @ 2011-11-06 22:03 94cool 阅读(200) 评论(0) 推荐(0)
摘要: HttpContext.Current.Request.ServerVariablesRequest.ServerVariables["Url"] 返回服务器地址Value 0: /WebSite1/Default.aspxRequest.ServerVariables["Path_Info"] 客户端提供的路径信息Value 0: /WebSite1/Default.aspxRequest.ServerVariables["Appl_Physical_Path"] 与应用程序元数据路径相应的物理路径Value 0: C:\Docum 阅读全文
posted @ 2011-11-06 22:02 94cool 阅读(374) 评论(0) 推荐(0)