Understanding How ColdFusion Manages Client States

 < 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 > 



Macromedia Studio MX Bible
Macromedia Studio MX Bible
ISBN: 0764525239
EAN: 2147483647
Year: 2003
Pages: 491

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net