View comments | RSS feed
Contents > CFML Reference > Reserved Words and Variables > CGI environment variables PreviousNext

CGI environment variables

When a browser makes a request to a server, the web server and the browser create environment variables. In ColdFusion, these variables are referred to as CGI environment variables. They take the CGI prefix regardless of whether the server uses a server API or CGI to communicate with the ColdFusion server.

Environment variables contain data about the transaction between the browser and the server, such as the IP Address, browser type, and authenticated username. You can reference CGI environment variables for a given page request anywhere in the page. CGI variables are read-only.

Note: The environment variables available to applications depend on the browser and server software.


Contents > CFML Reference > Reserved Words and Variables > CGI environment variables PreviousNext

ColdFusion 9 | ColdFusion 8 | ColdFusion MX 7 | ColdFusion MX 6.1 | ColdFusion MX | Forums | Developer Center | Bug Reporting

Version 6.1

Comments are no longer accepted for ColdFusion MX 6.1. ColdFusion 8 is the current version.

Comments


Jude23 said on Mar 11, 2004 at 11:42 AM :
There should be a list of built-in cgi variables on this page.
Bacteria Man said on Apr 15, 2004 at 4:12 PM :
This on-line documention in general is a joke, although a list of cgi variables can be found two pages to the right.
feeldom said on Jul 12, 2004 at 11:02 PM :
^.^;;
FlismFlazim said on Sep 10, 2004 at 2:57 PM :
for some reason this is in the 6.0 docs and not the 6.1. go here for a list of CGI variables:
http://livedocs.macromedia.com/coldfusion/6/CFML_Reference/Expressions5.htm#2679705
No screen name said on Mar 9, 2005 at 2:58 AM :
RTFM guys:
"The environment variables available to applications depend on the browser and server software"

So how can MM give you a definitive list of CGI variables?

Simply do this:
<cfump var="#CGI#">

 

RSS feed | Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/coldfusion/6.1/htmldocs/expres32.htm