In some cases, you may need a unique identifier for each user. We've implemented this through the Session ID.
You can retrieve the session ID in a formula field or variable using this syntax: SESSION_ID
.
Notes When a document loads in a browser tab, a unique page session is created and assigned to that tab. This session is valid only for that specific tab.
- A page session remains active as long as the tab or browser stays open, persisting through page reloads and restores.
- Opening a page in a new tab or window creates a new session with the top-level browsing context value—different from how session cookies behave.
- Opening multiple tabs/windows with the same URL creates separate sessionStorage for each one.
- Duplicating a tab copies its sessionStorage to the new tab.
- Closing a tab/window ends the session and clears its sessionStorage objects.
The session ID remains unique across tabs and persists through page refreshes. However, closing a tab or window will end that session and clear its session ID.