Session Management
Session management requirements also depend on how authentication is configured in Presto. Presto maintains sessions for each authenticated user. This session expires if no new requests are received within the timeout period configured for Presto.
If authentication is handled by an SSO solution or uses SSL and digital certificates, Presto uses the user identity information from SSO or the certificate to start a new session when a request is received for a session that has expired. Similarly, for guest users, Presto simply starts a new session.
If authentication is using simple credentials, however, Presto returns an error message for requests using an expired session. In this case, you must handle this error appropriately.