.

December 30, 2008

How to use different Server Variables

:  the page the visitor came from.
Request.ServerVariables("HTTP_REFERER")
: get a visitors IP address
Request.ServerVariables("REMOTE_ADDR")
:Find host name of client
Request.ServerVariables("REMOTE_HOST")
: Find server domain name
Request.ServerVariables("SERVER_NAME")
: returns the software running on the server
 Request.ServerVariables("SERVER_SOFTWARE")%
:Display the virtual path to the script or application being executed
Request.ServerVariables("SCRIPT_NAME") 
:Display users browser and opertaing system
 Request.ServerVariables("HTTP_USER_AGENT") 

No comments: