Thursday 03 December 2026 02:11:58 GMT+01:00

Netcrook

HomeManifesto
News
Techcrook
Geocrook
WikicrookTeamAppContact
EnglishItaliano

WIKICROOK

Session handler

The PHP component that stores and retrieves session data, often in files by default.

A session handler is the PHP component responsible for storing and retrieving session data. PHP commonly uses the files handler by default, which saves session data in files on the server. Other handlers can store it in databases, caches, or other backends.

Session handlers matter because applications rely on stored session state across requests, and corrupted or attacker-influenced data can create security risks. In some attacks, an interrupted file write may leave malformed session data that is later read or deserialized; exploitation depends on additional conditions, such as vulnerable application code. Defenders should confirm which handler their deployment uses, keep PHP and relevant packages patched, and review how session data is written and processed.

← WIKICROOK index