cfapplication

Overview ColdFusion Open BlueDragon Lucee

Defines the scope of a CFML application; enables and disables storage of Client variables; specifies the Client variable storage mechanism; enables Session variables; and sets Application variable timeouts.

Attributes

Name Required Type Default Description
3
action No
applicationtimeout No Timespan Lifespan of application variables. CreateTimeSpan function and values in days, hours, minutes, and seconds, separated by commas.
10
authcookie No Struct Struct that contains authentication cookie attributes used in cflogin tag
4
bufferoutput No if set to true (default) the output written to the body of the tag is buffered and in case of a exception also outputted. if set to false the content to body is ignored and not disabled when a failure in the body of the tag occur.
4
cachefunction No name of the cache used for function caching in this context
4
cacheinclude No name of the cache used to store data from a include
4
cacheobject No name of the cache used for object caching in this context
4
cachequery No name of the cache used for query caching in this context
4
cacheresource No name of the cache used to store data from ram resource in this context
4
cachetemplate No name of the cache used for template caching in this context
3
clientcluster No if set to true, railo uses the storage backend for the client scope as master and Railo checks for changes in the storage backend with every request, if set to false (default), the storage is only used as slave, railo only initially gets the data from the storage. Ignored for storage type "memory".
clientmanagement No Boolean false Enables client variables
clientstorage No String registry 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
3
clienttimeout No Enter the CreateTimeSpan function and values in days, hours, minutes, and seconds, separated by commas, to specify the lifespan of client variables. The default value is specified in the Variables page of the Railo Administrator.
3
componentpaths No Contains component paths.
4
compression No Enable compression (GZip) for the Railo Response stream for text-based responses when supported by the client (Web Browser).
3
customtagpaths No
9
3
datasource No String Name of the data source from which the query retrieves data.
4
datasources No A structure that contains datasources defintions.
3
defaultdatasource No the default datasource for this enviroment
10
exchangeserverversion No String 2007 Default version of the Microsoft Exchange Server for cfexchange tags.
4
invokeimplicitaccessor No alias for triggerDataMember
4
locale No Sets the country/language locale for CFML processing. The locale value determines the default format of date, time, number, and currency values, according to language and regional conventions.
3
localmode No Defines how the local scope of a function is invoked when a variable with no scope definition is used (default value set in the railo administrator). - always: the local scope is always invoked - update (CFML standard): the local scope is only invoked when the key already exists in it
loginstorage No String cookie cookie: store login information in the Cookie scope. session: store login information in the Session scope.
3
mappings No
name No String Name of application. Up to 64 characters
4
onmissingtemplate No closure/udf executed when the requested template does not exist
3
ormenabled No Specifies whether ORM should be enabled for the current application context.The default is false.
3
ormsettings No
4
requesttimeout No Sets the amount of time Railo will wait for a request to finish before a request timeout will be raised. This means that the execution of the request will be stopped.
4
resourcecharset No character set used for reading from/writing to various resources
3
s3 No A struct that defines default S3 settings, this settings can be overwritten as part of the S3 file path, the following keys are supported: - accessKeyId: S3 access key id - awsSecretKey: AWS (Amazon Web Service) Secret Key - defaultLocation(default:us): region for the bucket, possible values are [eu,us,us-west] - host(default:"s3.amazonaws.com"): hostname of the service
4
scopecascading No Depending on this setting Railo scans certain scopes to find a variable called from the CFML source. This will only happen, when the variable is called without a scope. (Example: #myVar# instead of #variables.myVar#), the following values are supported: - strict: scans only the variables scope - small: scans the scopes variables,url,form - standard: scans the scopes variables,cgi,url,form,cookie
scriptprotect No String Specifies whether to protect variables from cross-site scripting attacks. - none: do not protect variables - all: protect Form, URL, CGI, and Cookie variables - comma-delimited list of ColdFusion scopes: protect variables in the specified scopes
8
3
securejson No Boolean A Boolean value that specifies whether to add a security prefix in front of any value that a ColdFusion function returns in JSON-format in response to a remote call.
8
3
securejsonprefix No String The security prefix to put in front of the value that a ColdFusion function returns in JSON-format in response to a remote call if the secureJSON setting is true.
9
serverSideFormValidation No Boolean Enable/Disable ColdFusion’s server side validation on CFFORM.
3
sessioncluster No if set to true, railo uses the storage backend for the session scope as master and Railo checks for changes in the storage backend with every request, if set to false (default), the storage is only used as slave, railo only initially gets the data from the storage. Ignored for storage type "memory".
10
sessioncookie No Struct Struct that contains session cookie attributes
sessionmanagement No Boolean false Enables session variables
3
sessionstorage No Specifies how Railo stores session variables: - memory (default): the session is only kept in memory - cookie: the session is stored in the client cookie - file: the session is stored in a local file - "datasource-name"|"cache-name": when you select a name of an available datasource or cache, the session scope will be stored in there
sessiontimeout No Timespan Lifespan of session variables. CreateTimeSpan function and values in days, hours, minutes, and seconds, separated by commas
3
sessiontype No Railo provide 2 kind of sessions: - cfml: session handled by Railo - j2ee: session handled by the Servlet Engine used Default value is defined in the Railo Web Administrator. "j2ee" can not use a session storage.
setclientcookies No Boolean true No: CFML 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
setdomaincookies No Boolean false Yes: Sets CFID and CFTOKEN cookies for a domain (not a host) Required, for applications running on clusters.
4
suppressremotecomponentcontent No Suppress content written to response stream when a Component is invoked remotely. Only works if the content was not flushed before.
4
tag No tags/attributes default value in the following structure: #{location:{addtoken=false}}#
4
timezone No change the timezone defintion for the current application context.
4
triggerdatamember No If there is no accessible data member (property, element of the this scope) inside a component, Railo searches for available matching "getters" or "setters" for the requested property. The following example should clarify this behaviour. "somevar = myComponent.properyName". If "myComponent" has no accessible data member named "propertyName", Railo searches for a function member (method) named "getPropertyName".
4
typechecking No If disabled, Railo ignores type defintions with function arguments and return values
4
webcharset No character set used for output streams, form-, url-, and cgi scope variables and reading/writing the header
4
wstype No webservice type used, this can be one of the following values - Axis1 (default): The Apache Axis 1 implementation is used - CXF: The CXF implementation is used
10
wsversion No String Axis version to be used when generating WebService stubs