Session

You might say

After signing in, why does the page stay signed in after refresh?

State the server keeps for one person's continuous use, recognizing them by an identifier in a cookieRemaining logged in after a page refresh happens because the browser automatically attaches a session cookie to every request, allowing the server to recognize the authenticated user. Once a session expires or gets cleared, the user must log in again—a lifecycle boundary rather than an authentication error.
Know first
Session