Generates a unique sessionId that is saved in the browser's localStorage.
If an sessionId is already saved in the localStorage with the key provided, it will be used instead.
For client-side use only! globalThis, crypto, and localStorage must be available.
Generates a unique sessionId that is saved in the browser's localStorage. If an sessionId is already saved in the localStorage with the key provided, it will be used instead. For client-side use only!
globalThis
,crypto
, andlocalStorage
must be available.