Foxcolab

Glossary

Session token

Definition

Session token: A secret value a website or app issues after a successful sign-in and checks on later requests to recognize the signed-in user without asking for the password again. Whoever presents it is treated as that user until the session ends.

Also known assession IDsession identifiersession secretsession key

In short

A session token is the secret value a site or app issues after you sign in and checks on every request, so you don't re-enter your password. Whoever holds it is treated as you, which is why it must be random, renewed at sign-in, kept away from page scripts, time-limited and ended on the server at sign-out. Infostealers and phishing proxies steal tokens to skip passwords and second factors.

Key takeaways

  • OWASP calls a session ID temporarily equivalent to the strongest sign-in method the app uses.
  • NIST names it a session secret issued at authentication to keep the session continuous.
  • Tokens must be random, meaningless and renewed after sign-in to stop session fixation.
  • Signing out has to end the session on the server, not only delete the browser's copy.
  • NIST sets reauthentication limits, such as 24 hours overall and one hour of inactivity at AAL2.

Last reviewed 6 December 2026 by Foxcolab Team

A session token is the secret value a website or app gives you after you sign in, so it can recognize you on every later request without asking for your password again. OWASP calls the session ID "temporarily equivalent to the strongest authentication method used by the application" (OWASP): whoever presents it is treated as you. NIST's digital identity guideline calls it a session secret, one "issued by the verifier at authentication" that keeps an authenticated session going (NIST SP 800-63B-4).

Where it lives#

In a browser, the token usually travels in a session cookie. Mobile apps and APIs often send it in a header as a bearer token, and many systems split it into a short-lived access token and a longer-lived refresh token. The container changes; the job doesn't.

What makes one safe#

PropertyWhy it matters
Random and meaninglessOWASP: "randomly generated and unpredictable," with no personal data inside
Replaced at sign-inRenewing it "after any privilege level change" stops session fixation
Out of URLs and page scriptsURLs leak through history and logs; NIST says secrets "SHOULD NOT be placed in insecure locations (e.g., HTML5 Local Storage)"
Ended on the serverOWASP: at sign-out the app "must invalidate the session at least on server side"
Limited in timeNIST: ask people to sign in again at least every 30 days at its basic level; at AAL2, every 24 hours or after an hour of inactivity

How tokens get stolen#

Infostealer malware copies them out of browsers, and adversary-in-the-middle phishing captures them during a real sign-in. A stolen token skips both the password and the second factor, which is why ending sessions on the server matters. See session hijacking.

In Foxcolab#

When you sign in, Foxcolab starts a session on its servers. The app's access token lasts a day and renews quietly, and a session ends after 180 days without use. Signing out in any Foxcolab app ends that session on Foxcolab's servers, not just in your browser. On Your devices, Sign out ends one device's session and Sign out all others ends every session but yours, and changing your password signs out every other session too (how). Two-step verification asks for a code at every sign-in. Create a free account.

Keep exploring

All terms

Foxcolab

Private work tools, without the ads.

Mail, files, documents, spreadsheets and meetings in one account. Files, documents and spreadsheets are end-to-end encrypted.

Jump to