• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Step 2. Using Variables > Accessing CGI Variables

Accessing CGI Variables

Table 2.2 mentioned a Variable scope called CGI, which is an abbreviation for common gateway interface. Variables in this scope are read-only and are created every time a template is requested from, or returned to, the server. These variables can be very useful and can include things like the user’s browser type, his IP address, the web page he has just come from, as well as server information, such as the server’s name and what type of software it is running. To access CGI variables, you simply use the CGI scope prefix and the variable’s name. For a complete list of CGI variable names, see the “Language Reference” section of www.LearnColdFusionMX.com.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint