ColdFusion MX: From Static to Dynamic in 10 Steps

Team-Fly    

ColdFusion® MX: From Static to Dynamic in 10 Steps

By Barry Moore

Table of Contents
Step 2.  Using 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.


    Team-Fly    
    Top
     

    Категории