Thursday 03 December 2026 15:58:34 GMT+01:00

Netcrook

HomeManifesto
News
Techcrook
Geocrook
WikicrookTeamAppContact
EnglishItaliano

WIKICROOK

Session context

The authenticated browser state that lets a user interact with a web app as themselves.

Session context is the authenticated browser state that tells a web application who you are and what you are allowed to do. It usually depends on a session cookie, token, or similar credential stored in the browser and sent with each request. As long as that context is valid, the app treats the browser as the logged-in user.

This matters because many attacks target the session rather than the password. If cross-site scripting runs in a trusted page, attacker-controlled code may act inside the victim’s session context, reading page data, changing settings, or triggering actions as if the user clicked them. Defenders protect session context with secure cookies, short session lifetimes, re-authentication for sensitive actions, output encoding, and protections that stop script from reaching authenticated state. In practice, preserving session integrity is essential for both account security and reliable administration of web apps.

← WIKICROOK index