Class: SessionState
SessionState
Identifies a server state for
sharing across multiple calls to server endpoints. Internally, the
identifier is sent to the server as a session cookie. The session
cookie can be used for load balancing.
-
new SessionState()
-
Constructs an identifier for session state on the server.
Methods
-
-
sessionId() → {number}
-
Provides the identifier used for the server state (for instance, for use in logging).
Returns:
the session identifier- Type
- number