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")
%>
Tags:

About author

Vittorio Pavesi