The get
function retrieves data from the current session.
var userId = session.get("USER_ID");
Calling | Returning |
---|---|
session. get ( key ) |
String | Number | Boolean | Date | Object | Array | ... |
Parameters | Type | Description |
---|---|---|
key |
String |
The key used to identify the session information. |