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.
Status:
Introduced: 5.0.0.0
CacheRegionNew( cacheName=string, properties=any, throwOnError=any, password=string );
Returns: void
| Argument | Description |
|---|---|
|
cacheName
string,
required
|
edit
the name of the cache connection to create (also known as Region in other CFML engines). Alias: cache, region |
|
properties
any,
optional
|
edit
a structure specifying the cache properties Alias: propsStruct, props |
|
throwOnError
any,
optional
|
edit
specifies whether the function should throw an exception if a cache connection with that name already exists. Default is true. |
|
password
string,
optional
|
edit
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]. Alias: webAdminPassword |
Examples
There are currently no examples for this function 33,874ms WARN No examples for function CacheRegionNewSee also
- Cache
- Search Issue Tracker open_in_new
- Search Lucee Test Cases open_in_new (good for further, detailed examples)