session.get The get function is established to get data from session. Sample var userId = session.get("USER_ID"); API CallingReturning session . get ( key ){any} ParametersTypeDescription keyStringTo idetify the session info.