A session is a logged-in state that tells a service which user is active after authentication. In practice, the server or app creates a session using a cookie, token, or similar identifier, then keeps that state until the user signs out, the session expires, or the service revokes it.
Sessions matter because they are the bridge between identity and access. If an attacker steals a valid session, they may not need a password at all; this is session hijacking. Defenders reduce that risk with short timeouts, secure cookies, device and session lists, reauthentication for sensitive actions, and logout controls that invalidate old sessions. In everyday use, checking active sessions and removing unknown devices is a simple but effective account-defense step.


