Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 471 Bytes

session.set.md

File metadata and controls

19 lines (14 loc) · 471 Bytes

session.set

The set function stores data in the current session.

Sample

session.set("USER_ID", "Wang");

API

Calling Returning
session. set ( key, value ) void
Parameters Type Description
key String The key used to identify the session information.
value String | Number | Boolean | Date | Object | Array | ... The information to store in the session.