开发者

Find the host header value of the website?

How can i find the host header value of the website which will be give in the IIS? i just want to display that host header na开发者_高级运维me in the browser. how can i get that value?


host header is embedded in the HTTP header section as HOST. If you want to display that in your own ASP.NET page, you can access that from Page.Context.Request.Headers.GetValues("Host")

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜