Choosing a session length
Shorter sessions mean visitors verify more often — higher verification count and cost, but more recent proof of age.
Longer sessions reduce friction and lower your verification count, but the proof of age is less recent.
For most use cases, 24 hours is the right default.
Setting session duration in the portal
Go to your worker in portal.veriox.io → Configuration → Session Duration and choose from the available options. Save and the change applies to new sessions immediately.Existing sessions are not affected when you change this setting — they will expire at their original time.
How the session works
Veriox stores the session as a cookie on your domain. It is:- Signed — tamper-proof, validated by the worker on every request
- HttpOnly — not accessible to JavaScript on the page
- Secure — only sent over HTTPS
- SameSite=Lax — protected against cross-site request forgery
Session duration is a portal setting, not a worker variable — there’s nothing to set in
wrangler.toml and no redeploy is needed, whether you installed via the dashboard or Wrangler.
