it that relate to the context in which it was requested. Thevariables available will depend on the browser and server software in use for a given request. Note: CGI environmentvariables are created even when you are using one of the Webservers that supports a server API.Reference: cgi.variableName
Order of ColdFusion variable look-ups
When scoping is not used, that is, when you don't include a variable prefix, such as"Form.myformvar," ColdFusion attempts to find variables in the following order:1.Local variables created using CFSET and CFQUERY2.CGI variables3.File variables4.URL variables5.Form variables6.Cookie variables7.Client variables
Note
ColdFusion does not attempt to automatically find Application, Session, Server, andRequest variables, nor does it try to find CFML tag variables, with the exception of Filevariables. You must use prefixes with these variables..
Variables across application pages
Within ColdFusion, most variables apply only to a single template. However, severaltypes of variables can be used across multiple application pages:
•
Client variables store identifying information about an individual client.Client variables are designed to hold long-term information particular to an individualclient. You can store client variables in the system registry, a database, or in a cookienamed for the application.
•
Server variables are valid for all ColdFusion applications on a particular server.
Leave a Comment