session_status
(PHP >=5.4.0)
session_status — Returns the current session status
Açıklama
int session_status
( void
)
Dönen Değerler
-
PHP_SESSION_DISABLED if sessions are disabled.
-
PHP_SESSION_NONE if sessions are enabled, but none exists.
-
PHP_SESSION_ACTIVE if sessions are enabled, and one exists.