Variable |
ALL_HTTP |
AUTH_TYPE |
CONTENT_LENGTH |
CONTENT_TYPE |
GATEWAY_INTERFACE |
HTTP_ACCEPT |
HTTP_ACCEPT_LANGUAGE |
HTTP_CONNECTION |
HTTP_USER_AGENT |
HTTP_COOKIE |
HTTP_HOST |
HTTP_COOKIE |
LOGON_ACCEPT_ENCODING |
PATH_INFO |
PATH_TRANSLATED |
QUERY_STRING |
REMOTE_ADDR |
REMOTE_IDENT |
REMOTE_HOST |
REQUEST_METHOD |
SCRIPT_MAP |
SCRIPT_NAME |
SERVER_NAME |
SERVER_PORT |
SERVER_PORT_SECURE |
SERVER_PROTOCOL |
SERVER_SOFTWARE |
URL |
|
Here are two examples of what you
could do with server variables.
HTTP_REFERER
server
variable can be used as a Dynamic Previous Page Hyperlink.
Paste this code into an asp file and you have an instant
(Back Button).
Or add a graphic if you wish.
<a href="<%=
Request.ServerVariables("HTTP_REFERER") %>">Previous
Page</a>
Previous Page
HTTP_USER_AGENT
server variable can determine the client browser type
<%=Request.ServerVariables("HTTP_USER_AGENT")%>
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Retrieve a
Users IP Address Using Server Variables |