sessionId

Returns the corresponding session ID for the type SessionType or null if no session provided. It will crash if no session provider for type SessionType installed or no Sessions plugin installed.

Return

session id or null if no session ID sent by the client

Parameters

SessionType

to search ID for


Returns a sessionId for a single session identified by ID. This will not work if there are multiple sessions by ID were registered or the Sessions plugin is not installed. If you are using multiple sessions, please use sessionId function instead.

Return

session id or null if no session ID sent by the client