loading
loading
The server or app state that remembers a user across requests after they log in.
A session connects many separate HTTP requests into one logged-in experience. It might be stored in a database, encrypted cookie, or external auth provider. Session bugs show up as users being logged out, becoming the wrong user, or keeping access after they should not.
Plainly
Think of Session as the lock and rules that keep people and data safe. The server or app state that remembers a user across requests after they log in.
In practice
Use it when a workflow touches secrets, permissions, user data, payments, or untrusted input. In practice, define the owner, input, output, and failure mode before you rely on it.