ColdFusion offers developers several different scopes for variables, each
with specific characteristics and uses. Application variables are global,
shared by all users of an application. Server variables are similar, but if
your server hosts several applications, these variables are shared among all
the users of all the applications.
Request-scope variables are very handy - especially in the application.cfm
template - to set variables that are available to all ColdFusion templates
invoked with one HTTP request, including within custom tags that are
otherwise shielded from the other variable scopes. Locally scoped variables
are general purpose and the most widely used. However, client and session
variables are especially interesting. They're most often used to provide
u... (more)