Refreshing Sessions

Overview

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. Your session_id will expire after 30 minutes, therefore in order to maintain an active session, call Extend Session upon receiving the refresh session request event in the onEvent callback. This event is sent 5 seconds prior to the session expiration.