Name
cfapplication
Synopsis
<cfapplication>
Names a ColdFusion application and controls various application settings, such as the availability of client, session, and application variables, and length of various timeouts.
Attributes
-
name="application_name" The name of the ColdFusion application. May contain up to 64 characters. Required if enabling session or application variables.
-
applicationtimeout="#CreateTimeSpan(days,hours,minutes,seconds)#" The timeout value for application variables. Specified as an interval using the
CreateTimeSpan( )function. Optional. The default value is specified in the Memory Variables section of the ColdFusion Administrator.-
clientmanagement="Yes|No" Enables client management for the application. Optional. Default is
No.-
clientstorage="Datasource|Registry|Cookie" The client storage type for the application. Valid entries are
Datasource(enter the data source name),Registry, andCookie. Optional. Default isRegistry.-
loginstorage="cookie|session" Specifies whether login information associated with the
cfloginscope should be stored in a cookie or session variable. If set tosession, a login is tied directly to a user’s ColdFusion session and the login remains active for as long as the session exists. Optional. The default iscookie. This attribute is new in ColdFusion MX 6.1.-
sessionmanagement="Yes|No" Enables session management for the application. Optional. Default is
No.-
sessiontimeout="#CreateTimeSpan(days,hours,minutes ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access