<html>
<body>
<p>
<b>Browser version:</b>
<%Response.Write(Request.ServerVariables("http_user_agent"))%>

<br><b>IP address:</b>
<%Response.Write(Request.ServerVariables("remote_addr"))%>

<br><b>DNS lookup:</b>
<%Response.Write(Request.ServerVariables("remote_host"))%>

<br><b>Mothod:</b>
<%Response.Write(Request.ServerVariables("request_method"))%>

<br><b>Domain name:</b>
<%Response.Write(Request.ServerVariables("server_name"))%>

<br><b>Port:</b>
<%Response.Write(Request.ServerVariables("server_port"))%>

<br><b>Software:</b>
<%Response.Write(Request.ServerVariables("server_software"))%>

</body>
</html>
Published in: ASP
Download

Related snippets