Server Variables ASP Script - ASP Web Pro
  Active Server Pages Programming by ASP Web Pro

ASP Scripts

SERVER VARIABLES

One way of collecting valuable web statistics is through the use of server variables. Server variables retrieve information from the user's browser. You can use these to get all kinds of useful information, such as browser details, connection methods, and more. To get a list of all of the available server variables, create a servervariables.asp page with the code below:

<%
FOR EACH SV IN Request.ServerVariables
Response.Write "<P>" & SV & " = " & request.servervariables(SV) & "</P>"
NEXT
%>

Next, simply publish the page and open it on the Internet. It will display a list of them for you.

< Back to ASP Scripts


 

 

Main Menu
Home
ASP Scripts
ASP Tutorials
JavaScripts
Awards
Contact Us

Email This Page

Other Resources
ASP Web Hosting
Search Engine Submission
Programming Help

 

 

 

Other ASP Web Sites

Site Map

 

Last Updated:
22 March 2010