Web

Refreshing Sessions

To maintain a continuous and secure connection to the SDK while a user is interacting with it, it’s important to maintain a fresh session. Sessions expire after 30 minutes, therefore in order to maintain an active session, call Extend Session upon receiving the  event in the onEvent callback. This event is sent 5 seconds prior to the session expiration.

Note that it is best practice to create a new session using Create Session each time the SDK is invoked.