<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<P>BROWSER NAME IS :
<% Response.Write(Request.ServerVariables("HTTP_USER_AGENT"))%> </P>
<P>IP ADDRESS IS :
<% Response.Write(Request.ServerVariables("REMOTE_ADDR"))%> </P>
<P>The name of the host makes the request is
<% Response.Write(Request.ServerVariables("REMOTE_HOST"))%> </P>
<P>the method used to call the page is
<% Response.Write(Request.ServerVariables("REQUEST_METHOD"))%> </P>
<P>the server name is
<% Response.Write(Request.ServerVariables("SERVER_NAME"))%> </P>
<P>the server port no is
<% Response.Write(Request.ServerVariables("SERVER_PORT"))%> </P>
<P>the name & version of the request prtocol is
<% Response.Write(Request.ServerVariables("HTTP_VERSION"))%> </P>
<P>the name of webserver is
<% Response.Write(Request.ServerVariables("HTTP_HOST"))%> </P>
%>
</div>
</form>
</body>
</html>
No comments:
Post a Comment