cacheregionnew

this function exists solely for the purpose of compatibility with other CFML Engines. we strongly recommend not to use this function. to create a cache connection either declare it in your Application.cfc or create it via the in the Administrator interface.

Returns: void

Usage

cacheregionnew( cacheName [, properties [, throwOnError [, password ] ] ] )

Arguments

Argument Description
cacheName
(string, required)

the name of the cache connection to create (also known as Region in other CFML engines).

properties
(any, optional)

a structure specifying the cache properties

throwOnError
(any, optional)

specifies whether the function should throw an exception if a cache connection with that name already exists (default is true)

password
(string, optional)

the password for the web administrator is required to interact with Cache Connections. you can optionally set it for your Application in Application.cfc using the variable [this.webAdminPassword].

Examples

There are currently no examples for this function

See also