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

Part 3: Week 3 At a Glance > CFAPPLICATION

CFAPPLICATION

Defines scoping for a ColdFusion application, enables or disables storing client variables, and specifies a client variable storage mechanism. By default, client variables are disabled. Also, used to enable session variables and to set timeouts for both session and application variables. Session and application variables are stored in memory.

Syntax

<CFAPPLICATION NAME="application_name"
    CLIENTMANAGEMENT="Yes" or "No"
    CLIENTSTORAGE="datasource_name" or "Registry" or "Cookie"
    SETCLIENTCOOKIES="Yes" or "No"
    SESSIONMANAGEMENT="Yes" or "No"
    SESSIONTIMEOUT=#CreateTimeSpan(days, hours,
							minutes, seconds)#
    APPLICATIONTIMEOUT=#CreateTimeSpan(days, hours,
							minutes, seconds)#
    SETDOMAINCOOKIES="Yes" or "No"
>


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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