Request.ServerVariables("ServerVariableName")
The ServerVariableName just needs to be replaced with the server variable you are wanting. Below is a list of some of the server variables that you can use to provide/view information about your ASP Applications/Web Pages.
Server Variable | Result |
HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
REMOTE_ADDR | 18.222.112.101 |
SERVER_NAME | psacake.com |
URL | /web/el.asp |
HTTP_REFERER |
<bodybgcolor="#FFFFFF"> <font face="arial"> <table border=1cellspacing=2 cellpadding=2align=center valign=top> <% For EachItem InRequest.ServerVariables %>
<tr>
<td><%= Item %></td><td> <%= Request.ServerVariables(Item)%></td> </tr>
<% Next%> </table> </font> </BODY> </HTML>