Web Services
Session Management
Mechanism used by web applications to store information about a user's interaction with the application over multiple requests:
Sessions
are typically stored on the server-side and consist of asession ID
, which is sent to the client and used to retrieve the stored session data.The server typically tracks this session ID using a
cookie
(commonlyPHPSESSID
), which is sent with every subsequent request.
The session data itself can be stored in several locations:
Files
Database
Redis
Memcached
Or other custom
drivers
.
Its security is critical to prevent issues like session hijacking and fixation.
Last updated