Publishers of technology books, eBooks, and videos for creative people

Home > Articles > Web Design & Development > Adobe ColdFusion

  • Print
  • + Share This
This chapter is from the book

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 http://www.LearnColdFusionMX.com.

  • + Share This
  • 🔖 Save To Your Account