Enabling Client Variables

Before you can use client variables in your code, you must enable them using an Application.cfc file. In the last chapter, you learned how to use this file to enable application variables. You can modify the behavior of the application using THIS-scope variables. Table 20.3 lists values relevant to client variables.

Table 20.3. Additional Application.cfc THIS-Scope Values Relevant to Client Variables
AttributeDescription
nameOptional. A name for your application. For more information about the NAME attribute, see the section “Using Application Variables” in Chapter 19.”
clientManagementYes or No. Setting this value to Yes enables client variables for the application.
clientStorageOptional. You can set this attribute to ...

Get Adobe ColdFusion 8 Web Application Construction Kit, Volume 1: Getting Started now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.