ASP: Show the host header




In order to show the Host Header requested from the GET HTTP, you only need to print the Server Variable SERVER_NAME.





An example in asp could be:
<%
response.write Request.ServerVariables("SERVER_NAME")
%>
Share on Google Plus

About Vittorio Pavesi

    Blogger Comment
    Facebook Comment

0 commenti: