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
Copyright (c) 2020 MarkLogic Corporation Documentation generated by JSDoc 4.0.0 on 2024-08-20T21:35:26-07:00 using the DocStrap template.