Documentation

BX.localStorage.set

 void
BX.localStorage.set(
 String key,
 String|Object value[,
 Number ttl]
);

THe function sets the storage element values.

Function parameters

Parameter Description
String key Storage element key
String|Object value Storage element value (string or object)
Number ttl Storage element lifetime in seconds (by default is 60)


© «Bitrix24», 2001-2022
Up