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 3.6.4 on 2020-08-04T23:55:51-07:00 using the DocStrap template.