Jueves 03 Diciembre 2026 08:49:41 GMT+01:00

Netcrook

InicioManifiesto
Noticias
Techcrook
Geocrook
WikicrookEquipoAppContacto
EnglishItaliano

WIKICROOK

session_start()

The PHP call that opens or resumes a session for the current request.

session_start() is a PHP function that opens a new session or resumes an existing one for the current request. It typically reads or creates a session identifier, then makes session data available through $_SESSION. Because headers may be sent when a session begins, applications generally call it before producing page output.

Sessions commonly hold authentication state and other user-specific data, so when and how they are started can affect security. PHP session behavior also depends on configuration, including the serializer and upload-progress settings. In unusual cases, changing session.serialize_handler with ini_set() before calling session_start() may interact with upload-progress tracking. Defenders should review runtime configuration changes as well as server-wide settings, and disable upload-progress tracking when it is not needed.

← índice WIKICROOK