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

Day 16

Quiz

1: Describe the Web's statelessness.
A1: You should have answered something like: Without using special tools, Web servers have no knowledge of things that have happened before.
2: Where should Application.cfm reside on your server?
A2: In the root directory of the application it defines.
3: How long does an application variable persist?
A3: For as long as the application continues to live on the server, or until the variable is "timed out" by a user setting .
4: In client-state management, when would you use the #CLIENT.URLToken# variable?
A4: When you're concerned that your users'browsers might not support cookies. URLToken provides an alternative by passing the user's CFID and CFTOKEN to each page in your application .
5: In client-state management, what data is saved on the user's machine?
A5: Using default settings, just the CFID and CFTOKEN values. The rest is stored on the server. ColdFusion can also be configured to save all client data to a local database or to a cookie on the user's machine .
6: How do you delete a cookie set with <CFCOOKIE>?
A6: You reset the cookie using the special expiration parameter now.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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