session

A record the server keeps about a logged-in caller, found on each request through a handle the client presents, usually in a cookie.

In more detail

The main state lives on the server, so the server can end a session by deleting or rotating its handle without touching the user record. Sessions suit browsers; services that do not share a cookie jar usually use tokens instead.

Examples

In the browser: sessionStorage uses the word differently: it lasts for the life of one browser tab.
In the course, the caller's identity comes from the session or a verified token and never from a field the client chose.

Related terms

Taught in

References