...
Expiration duration. Optional.
Remarks
If duration is not specified, object is stored as indefinitely until cache is cleared.
Duration can be specified in "day.hh:mm:ss" format.
...
Code Block | ||
---|---|---|
| ||
var id = 1; $Cache.Set("myObject:" + id, { Name : 'Madonna' }, "12:00:00"); |
Remarks
If duration is not specified, object is stored as indefinitely until cache is cleared.
Duration can be specified in "day.hh:mm:ss" format.
...