MACROMEDIA COLDFUSION MX 61-CFML Reference page 52

Cfml reference
Hide thumbs Also See for COLDFUSION MX 61-CFML:
Table of Contents

Advertisement

Attribute
clientStorage
setClientCookies
sessionManagement Optional
sessionTimeout
applicationTimeout
setDomainCookies
Usage
This tag is typically used in the Application.cfm file, to set defaults for a ColdFusion application.
This tag enables application variables, unless they are disabled in the ColdFusion Administrator.
The Administrator setting also overrides the
information, see Configuring and Administering ColdFusion MX.
Server, application, and session variables
When you display, set, or update variables in the server, application, and session scopes, use the
tag with the
cflock
For server variables, specify "
For application variables, specify "
For session variables, specify "
For information about locking scopes, see
If ColdFusion is running on a cluster, you must specify
source name; you cannot specify
52
Chapter 2: ColdFusion Tags
Req/Opt
Default
Optional
registry
Optional
Yes
No
Optional
Specified in
Variables page
of ColdFusion
Administrator
Optional
Specified in
Variables page
of ColdFusion
Administrator
Optional
No
attribute set to the following value:
scope
"
server
application
"
session
cflock
"registry"
Description
How client variables are stored:
• datasource_name: in ODBC or native data
source. You must create storage repository
in the Administrator.
• registry: in the system registry.
• cookie: on client computer in a cookie.
Scalable. If client disables cookies in the
browser, client variables do not work.
• Yes: enables client cookies
• No: ColdFusion does not automatically send
CFID and CFTOKEN cookies to client
browser; you must manually code CFID and
CFTOKEN on the URL for every page that
uses Session or Client variables.
• Yes: enables session variables
• No
Lifespan of session variables.
CreateTimeSpan function and values in days,
hours, minutes, and seconds, separated by
commas.
Lifespan of application variables.
CreateTimeSpan function and values in days,
hours, minutes, and seconds, separated by
commas.
• Yes: Sets CFID and CFTOKEN cookies for a
domain (not a host). Required, for
applications running on clusters.
• No
sessionManagement
"
on page
221.
clientStorage = "cookie"
.
attribute. For more
or a data

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion mx

Table of Contents