开发者

Find the host header value of the website?

开发者 https://www.devze.com 2022-12-12 19:33 出处:网络
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 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

精彩评论

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

关注公众号