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"
>
NAME

The name you want to give ...

Get Sams Teach Yourself ColdFusion® in 21 Days 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.