• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Day 16. Using ColdFusion Client and Sess... > Understanding ColdFusion's Client-St...

Understanding ColdFusion's Client-State Management

ColdFusion provides its own weapon against statelessness, called client-state management.

When a user visits an application page that employs client-state management, ColdFusion will automatically generate two special variables to identify the user, CFID and CFTOKEN. Think of these as labels on a "drawer" of information specifically for a particular user. When a user has an assigned CFID and CFTOKEN, any template page in the application can either add information to the user's drawer by referencing those two variables, or read information already in the drawer, also by referring to CFID and CFTOKEN.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint