cachePut
Description
Stores an object in the cache.
Categories
Related
History
ColdFusion
9: Added the function.
Syntax
CachePut(id, value[, timeSpan[, idleTime]])
Attributes
| Attribute | Description | Required | Default |
|---|---|---|---|
| id | The ID for the cache object. | ||
| idleTime | (Optional) A decimal number of days after which the object is flushed from the cache if it is not accessed during that time. One way to set the value is to use the return value from the CreateTimeSpan function. | ||
| timeSpan | (Optional) The interval until the object is flushed from the cache, as a decimal number of days. One way to set the value is to use the return value from the CreateTimeSpan function. The default is to not time out the object. | ||
| value | The value of the object. Can be any data type supported by ColdFusion |
Returns
Nothing