Request.url请求路径的一些属性1,Request.UrlReferrer.AbsolutePath=获取URL的绝对路径例:"/Manager/Module/OfficialManage/Issuedadocument/Issuedadocument_WorkNew.aspx"
2,Request.UrlReferrer.AbsoluteUri=获取绝对URL例:"http://localhost:2855/Manager/Module/OfficialManage/Issuedadocument/Issuedadocument_WorkNew.aspx?FormID=1&FlowID=1"
3,Request.UrlReferrer.Authority=获取域名的主机名和端口号例:"localhost:2855"
4,Request.UrlReferrer.DnsSafeHost(Host)=获得安全的主机名例:"localhost"
5,Request.UrlReferrer.OriginalString=获取原始的路径例:"http://localhost:2855/Manager/Module/OfficialManage/Issuedadocument/Issuedadocument_WorkNew.aspx?FormID=1&FlowID=1"
6,Request.UrlReferrer.PathAndQuery=获取主机绝对路径加查询条件例:"/Manager/Module/OfficialManage/Issuedadocument/Issuedadocument_WorkNew.aspx?FormID=1&FlowID=1"
7,Request.UrlReferrer.Port=端口例:2855
8,Request.UrlReferrer.Query=查询条件例:"?FormID=1&FlowID=1"
新闻热点
疑难解答