Skip to main content
Opal Sessions are long-lived stateful connections between your app and Opal. They allow you to store user data, resume user sessions, and retrieve data later. Sessions are created when you create an Opal Token, and when passed into Opal, they are automatically resumed.

Creating a new session

First, create a new Opal Token with your desired configuration. This will create a new session.

Resuming an existing session

To resume an existing session, create a new token by passing the session_id from a previous session