asp.net 获取URL 的全部结果信息

it2022-05-05  120

Description:

http://localhost:4336/Web/AjaxDemo.aspx,最后输出的结果:

Request.AppRelativeCurrentExecutionFilePath=~/AjaxDemo.aspxRequest.CurrentExecutionFilePath=/Web/AjaxDemo.aspxRequest.FilePath=/Web/AjaxDemo.aspxRequest.Path=/Web/AjaxDemo.aspxRequest.PathInfo=Request.PhysicalApplicationPath=D:\SXJST\Web\Request.PhysicalPath=D:\SXJST\Web\AjaxDemo.aspxRequest.RawUrl=/Web/AjaxDemo.aspxRequest.Url=http://localhost:4336/Web/AjaxDemo.aspxRequest.UrlReferrer=Request.UserHostAddress=127.0.0.1Request.UserHostName=127.0.0.1uri.AbsolutePath=/Web/AjaxDemo.aspxuri.AbsoluteUri=http://localhost:4336/Web/AjaxDemo.aspxuri.Authority=localhost:4336uri.Host=localhosturi.HostNameType=Dnsuri.Scheme=httpuri.LocalPath=/Web/AjaxDemo.aspxuri.OriginalString=http://localhost:4336/Web/AjaxDemo.aspxuri.PathAndQuery=/Web/AjaxDemo.aspxuri.Port=4336uri.Segments=/,Web/,AjaxDemo.aspx

转载于:https://www.cnblogs.com/liyuxin/archive/2011/07/19/2110996.html


最新回复(0)