put

IMD.put(key, value)

Inserts a specified value with a specified key into In Memory Data (cache).

Paramaters

The method has the following parameters:

ParametersDescription
keyThe key under which a value will be inserted into the cache.
valueThe value which will be inserted into the cache.
#Example
IMD.put("newTempPassword", "123456");
console.log(IMD.get("newTempPassword");
12345