WEB-INF.cftags.component coldbox.system.FrameworkSupertype coldbox.system.Plugin coldbox.system.plugins.ClientStorage
Client Storage plugin. It provides the user with a mechanism for permanent data storage using the client scope and WDDX.
Constructor Summary | |
---|---|
init(any controller)
Constructor. |
Method Summary | |
---|---|
void
|
clearAll()
Clear the entire coldbox client storage. |
boolean
|
deleteVar(string name)
Tries to delete a permanent client var. |
boolean
|
exists(string name)
Checks wether the permanent variable exists. |
struct
|
getStorage()
Get the entire storage scope structure. |
any
|
getVar(string name, [any default=''])
Get a new permanent variable. |
void
|
setVar(string name, any value)
Set a new permanent variable. |
Methods inherited from class WEB-INF.cftags.component |
---|
None |
Constructor Detail |
---|
Constructor.
controller
- coldbox.system.web.ControllerMethod Detail |
---|
Clear the entire coldbox client storage
Tries to delete a permanent client var.
name
- The variable name to retrieve.Checks wether the permanent variable exists.
name
- The variable name to retrieve.Get the entire storage scope structure
Get a new permanent variable. If the variable does not exist. The method returns blank.
name
- The variable name to retrieve.default
- The default value to set. If not used, a blank is returned.Set a new permanent variable.
name
- The name of the variable.value
- The value to set in the variable.