Lucee Function Reference

cacheregionexists()

This Function is deprecated
this function exists solely for the purpose of compatibility with other CFML Engines. we strongly recommend not to use this function.
it is recommended to use the Administrator interface in order to add or remove cache connections.

this functions returns true if a cache connection with the passed cacheName exists.

Example

cacheregionexists(string cacheName,[string password]):boolean

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
cacheName string  Yes the name of the cache connection to check (also known as Region in other CFML engines).  
password string  No 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].