| < Day Day Up > |
|
When you build applications, you can enable ColdFusion's client-state management tools with a line of code in your application's Application.cfm file, as you'll learn in the next sections. When these tools are enabled, ColdFusion automatically creates a couple of variables the first time a user visits any page in your application. It internally assigns a cfid and a cftoken to specifically identify that user.
Think of a user's cfid/cftoken identifier a "drawer" in which information may be stored and later recalled. After a user has a drawer, you can place standard variables within it, allowing your templates to recall them at any time, and from any template within your application. The contents of a user's drawer can persist for as long or as short a period as you specify.
| < Day Day Up > |
|