摘要: publicstringGetRootPath(){//是否为SSL认证站点stringsecure=HttpContext.Current.Request.ServerVariables["HTTPS"];stringhttpProtocol=(secure=="on"?"https://":"http://");//服务器名称stringserverName=HttpContext.Curre... 阅读全文
posted @ 2005-12-07 13:40 Elaine Shi 阅读(4081) 评论(5) 推荐(1)
摘要: ServerVariables ServerVariables 集合检索预定的环境变量。 语法 Request.ServerVariables (server environment variable) 参数 服务器环境变量 指定要检索的服务器环境变量名。可以使用下面列出的值。变量 说明 ALL_HTTP 客户端发送的... 阅读全文
posted @ 2005-12-07 13:26 Elaine Shi 阅读(415) 评论(0) 推荐(0)