Skip to main content

Cookie Policy

Effective Last updated

Policy Summary

TeachAI uses first-party cookies and browser storage to provide the service. We set zero third-party advertising, behavioral retargeting, or cross-site tracking cookies.

1. Strictly Necessary Authentication & Exam Cookies

TeachAI uses session cookies to sign in workspace staff and keep verified candidate exam sessions separate. The exam lobby also briefly sets a cookie to check that the browser can run the exam.

The inventory shows what TeachAI stores, why it is used, and how long it stays. An asterisk represents a suffix that varies by session, workspace, or feature. Open Details in any row to read its scope and security attributes.

Strictly necessary storage

Cookie

NamePurposeDuration
better-auth.session_token / __Secure-better-auth.session_token
Details
Scope
Site-wide cookie path (/), used to sign in workspace staff and platform operators
Security
HttpOnly, SameSite=Lax, Secure in production over HTTPS
Keeps staff signed in to their workspace or the platform console.7 days by default, renewed during activity. Support sessions expire after 60 minutes.
better-auth.two_factor
Details
Scope
Site-wide cookie path (/), used during staff sign-in
Security
HttpOnly, SameSite=Lax, Secure in production over HTTPS. Better Auth may add an __Secure- name prefix over HTTPS.
Holds the pending two-factor sign-in challenge.10 minutes
better-auth.dont_remember
Details
Scope
Site-wide cookie path (/), used by the staff sign-in API
Security
HttpOnly, SameSite=Lax, Secure in production over HTTPS. Better Auth may add an __Secure- name prefix over HTTPS.
Keeps a session-only sign-in from becoming persistent.Browser session
better-auth.trust_device
Details
Scope
Site-wide cookie path (/), used when trusting a device through the two-factor API
Security
HttpOnly, SameSite=Lax, Secure in production over HTTPS. Better Auth may add an __Secure- name prefix over HTTPS.
Remembers a device that was trusted after two-factor verification.30 days by default
exam_session
Details
Scope
Site-wide cookie path (/), used by the candidate portal and exam APIs
Security
Signed exam session token. HttpOnly, SameSite=Lax, Secure in production over HTTPS.
Keeps a verified candidate signed in for their assigned exam.At least 2 hours before an attempt or 4 hours on re-entry. May extend to 1 hour after the exam window or attempt deadline.
exam_portal_session
Details
Scope
Site-wide cookie path (/), used by My Exams
Security
Signed candidate portal token. HttpOnly, SameSite=Lax, Secure in production over HTTPS.
Keeps a verified candidate signed in to My Exams.4 hours
exam_readiness_probe
Details
Scope
Site-wide cookie path (/), checked in the exam lobby
Security
SameSite=Lax. The exam lobby reads this cookie in the browser.
Checks whether the browser allows cookies before an exam.Removed immediately after the check. Expires within 60 seconds.

Local storage

NamePurposeDuration
theme
Details
Scope
Appearance across the TeachAI site
Security
Stored in this browser for the TeachAI site
Remembers the light, dark, or system appearance setting.Until browser storage is cleared
teachai.dashboard.sidebar.collapsed
Details
Scope
Workspace dashboard
Security
Stored in this browser for the TeachAI site
Remembers whether the dashboard sidebar is collapsed.Until browser storage is cleared
attempt_draft:*
Details
Scope
Candidate exam player, keyed by attempt and tab session
Security
Stored in this browser for the TeachAI site
Keeps unsaved answers available through a temporary disconnect or reload.Until pending answers are cleared or browser storage is cleared
attempt_next_seq:*
Details
Scope
Candidate exam player, keyed by attempt and tab session
Security
Stored in this browser for the TeachAI site
Remembers the next save number so older saves cannot overwrite newer answers.Until browser storage is cleared
attempt_tools:*
Details
Scope
Candidate exam player, keyed by attempt and tab session
Security
Stored in this browser for the TeachAI site
Remembers text size, contrast, highlights, and crossed-out options.Until browser storage is cleared
exam_readiness_probe:*
Details
Scope
Exam lobby
Security
Stored in this browser for the TeachAI site
Checks whether the browser allows local storage before an exam.Removed as part of the check
teachai.workspace.pins.*
Details
Scope
Quick Open for the signed-in workspace scope
Security
Stored in this browser for the TeachAI site
Remembers destinations pinned in Quick Open.Until browser storage is cleared
teachai.{candidates,exams,question-bank,results,schedules}.*
Details
Scope
Workspace list preferences, keyed by list and workspace scope
Security
Stored in this browser for the TeachAI site
Remembers table preferences and personal saved views.Until browser storage is cleared

Session storage

NamePurposeDuration
exam_client_session:*
Details
Scope
Candidate exam player, keyed by assignment and attempt number
Security
Stored in this browser tab for the TeachAI site
Keeps the same exam tab identity through a reload.Browser tab session
teachai.candidate-intake-draft.v1
Details
Scope
Candidate intake form for the current exam
Security
Encrypted draft stored in this browser tab.
Keeps unfinished answers available through a reload.Until submitted, cleared, or the tab session ends
teachai.candidate-portal.navigation.v1
Details
Scope
My Exams for the verified candidate
Security
Stored in this browser tab for the TeachAI site
Remembers the selected exam and list position.Browser tab session
teachai.public-links.*
Details
Scope
Public link manager inside the workspace dashboard
Security
Stored in this browser tab for the TeachAI site
Remembers the current list view after a reload.Browser tab session
teachai:assignment-roster-return:* / teachai.booking-pool-return.* / teachai.coding-library.return / teachai.integrity.return.* / teachai.question-bank-return.*
Details
Scope
Assignment, booking, coding library, integrity, and question bank screens
Security
Stored in this browser tab for the TeachAI site
Restores list position and selected records when returning from a detail screen.Until restored or the tab session ends

3. Zero Third-Party Advertising or Cross-Site Trackers

TeachAI never embeds third-party advertising pixels, social media tracking beacons, or behavioral profiling scripts inside the Marketing website, Tenant Dashboard, or Candidate Exam Portal.