Статус проверки PHP
session_status();
// Possible results:
// - PHP_SESSION_DISABLED = 0
// - PHP_SESSION_NONE = 1
// - PHP_SESSION_ACTIVE = 2
docaCodes
session_status();
// Possible results:
// - PHP_SESSION_DISABLED = 0
// - PHP_SESSION_NONE = 1
// - PHP_SESSION_ACTIVE = 2