ASP 101 - Active Server Pages 101 - Web04
The Place ASP Developers Go!

Please visit our partners

Windows Technology Windows Technology
15 Seconds
4GuysFromRolla.com
ASP 101
ASP Wire
VB Forums
VB Wire
WinDrivers.com
internet.commerce internet.commerce
Partners & Affiliates














ASP 101 is an
internet.com site
ASP 101 is an internet.com site
IT
Developer
Internet News
Small Business
Personal Technology
International

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

ASP 101 News Flash ASP 101 News Flash




Script Output:
Hello visitor from 38.103.63.18! Your browser identifies itself as CCBot/1.0 (+http://www.commoncrawl.org/bot.html).

Server Variable Value
ALL_HTTP HTTP_CACHE_CONTROL:no-cache HTTP_CONNECTION:close HTTP_PRAGMA:no-cache HTTP_ACCEPT:Accept: application/xhtml+xml,text/html;q=0.9,text/plain; HTTP_ACCEPT_CHARSET:ISO-8859-1,utf-8;q=0.7,*;q=0.7 HTTP_ACCEPT_ENCODING:gzip HTTP_ACCEPT_LANGUAGE:en-us,en;q=0.5 HTTP_HOST:www.asp101.com HTTP_USER_AGENT:CCBot/1.0 (+http://www.commoncrawl.org/bot.html)  
ALL_RAW Cache-Control: no-cache Connection: close Pragma: no-cache Accept: Accept: application/xhtml+xml,text/html;q=0.9,text/plain; Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Accept-Encoding: gzip Accept-Language: en-us,en;q=0.5 Host: www.asp101.com User-Agent: CCBot/1.0 (+http://www.commoncrawl.org/bot.html)  
APPL_MD_PATH /LM/W3SVC/40/Root/samples 
APPL_PHYSICAL_PATH D:\Inetpub\WWWROOT\APSP01\ASP101\www\samples\ 
AUTH_PASSWORD  
AUTH_TYPE  
AUTH_USER  
CERT_COOKIE  
CERT_FLAGS  
CERT_ISSUER  
CERT_KEYSIZE  
CERT_SECRETKEYSIZE  
CERT_SERIALNUMBER  
CERT_SERVER_ISSUER  
CERT_SERVER_SUBJECT  
CERT_SUBJECT  
CONTENT_LENGTH
CONTENT_TYPE  
GATEWAY_INTERFACE CGI/1.1 
HTTPS off 
HTTPS_KEYSIZE  
HTTPS_SECRETKEYSIZE  
HTTPS_SERVER_ISSUER  
HTTPS_SERVER_SUBJECT  
INSTANCE_ID 40 
INSTANCE_META_PATH /LM/W3SVC/40 
LOCAL_ADDR 10.2.83.62 
LOGON_USER  
PATH_INFO /samples/servvars.asp 
PATH_TRANSLATED D:\Inetpub\WWWROOT\APSP01\ASP101\www\samples\servvars.asp 
QUERY_STRING  
REMOTE_ADDR 38.103.63.18 
REMOTE_HOST 38.103.63.18 
REMOTE_USER  
REQUEST_METHOD GET 
SCRIPT_NAME /samples/servvars.asp 
SERVER_NAME www.asp101.com 
SERVER_PORT 80 
SERVER_PORT_SECURE
SERVER_PROTOCOL HTTP/1.1 
SERVER_SOFTWARE Microsoft-IIS/6.0 
URL /samples/servvars.asp 
HTTP_CACHE_CONTROL no-cache 
HTTP_CONNECTION close 
HTTP_PRAGMA no-cache 
HTTP_ACCEPT Accept: application/xhtml+xml,text/html;q=0.9,text/plain; 
HTTP_ACCEPT_CHARSET ISO-8859-1,utf-8;q=0.7,*;q=0.7 
HTTP_ACCEPT_ENCODING gzip 
HTTP_ACCEPT_LANGUAGE en-us,en;q=0.5 
HTTP_HOST www.asp101.com 
HTTP_USER_AGENT CCBot/1.0 (+http://www.commoncrawl.org/bot.html) 

ASP HTML Download            FAQ

Above is a table of all the cool things you have access to via the Request.ServerVariables collection. Now, I know what you're thinking: "What do server variables have to do with any of this information?" Well, I don't know, but what I do know is that all of the HTTP header information that is sent by the client's browser to your server is available via this collection. You did catch that part about the client's browser....yes folks, some of these variables are browser specific! Luckily most of them are pretty well standardized. Just don't go using something like "HTTP_UA_PIXELS" and you'll be fine (It only works in old versions of IE!).

Look at all the info we can get! You'll notice some of these are empty. Many of them only contain data in certain situations. For instance, all the variables that start with "CERT_" have to do with authentication certificates. Since we aren't using any on this site, these fields are naturally blank. The same goes for the "HTTPS_" and "AUTH_" groups of variables.

One other thing to note is that this script display all of the variables that currently exist. So, if you fire up a browser different from the one you're using now, you may gain and/or lose some of the variables listed above. In other words, this isn't a comprehensive list of all possible server variables, it's simply a list of the ones that the combination of your browser and our server makes available.

Samples

Home |  News |  Samples |  Articles |  Lessons |  Resources |  Forum |  Links |  Search |  Feedback



JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

Solutions
Whitepapers and eBooks
Microsoft Article: Will Hyper-V Make VMware This Decade's Netscape?
Microsoft Article: 7.0, Microsoft's Lucky Version?
Microsoft Article: Hyper-V--The Killer Feature in Windows Server 2008
Avaya Article: How to Feed Data into the Avaya Event Processor
Microsoft Article: Install What You Need with Windows Server 2008
HP eBook: Putting the Green into IT
Whitepaper: HP Integrated Citrix XenServer for HP ProLiant Servers
Intel Go Parallel Portal: Interview with C++ Guru Herb Sutter, Part 1
Intel Go Parallel Portal: Interview with C++ Guru Herb Sutter, Part 2--The Future of Concurrency
Avaya Article: Setting Up a SIP A/S Development Environment
IBM Article: How Cool Is Your Data Center?
Microsoft Article: Managing Virtual Machines with Microsoft System Center
HP eBook: Storage Networking , Part 1
Microsoft Article: Solving Data Center Complexity with Microsoft System Center Configuration Manager 2007
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
Webcasts
Intel Video: Are Multi-core Processors Here to Stay?
On-Demand Webcast: Five Virtualization Trends to Watch
HP Video: Page Cost Calculator
Intel Video: APIs for Parallel Programming
HP Webcast: Storage Is Changing Fast - Be Ready or Be Left Behind
Microsoft Silverlight Video: Creating Fading Controls with Expression Design and Expression Blend 2
MORE WEBCASTS, PODCASTS, AND VIDEOS
Downloads and eKits
Sun Download: Solaris 8 Migration Assistant
Sybase Download: SQL Anywhere Developer Edition
Red Gate Download: SQL Backup Pro and free DBA Best Practices eBook
Red Gate Download: SQL Compare Pro 6
Iron Speed Designer Application Generator
MORE DOWNLOADS, EKITS, AND FREE TRIALS
Tutorials and Demos
How-to-Article: Preparing for Hyper-Threading Technology and Dual Core Technology
eTouch PDF: Conquering the Tyranny of E-Mail and Word Processors
IBM Article: Collaborating in the High-Performance Workplace
HP Demo: StorageWorks EVA4400
Intel Featured Algorhythm: Intel Threading Building Blocks--The Pipeline Class
Microsoft How-to Article: Get Going with Silverlight and Windows Live
MORE TUTORIALS, DEMOS AND STEP-BY-STEP GUIDES