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, and Cookie. Optional. Default is Registry.

loginstorage="cookie|session"

Specifies whether login information associated with the cflogin scope should be stored in a cookie or session variable. If set to session, 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 is cookie. 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 ...

Get Programming ColdFusion MX, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.