session_status
(PHP >=5.4.0)
session_status — Returns the current session status
Descrição
int session_status
( void
)
session_status() is used to return the current session status.
Valor Retornado
-
PHP_SESSION_DISABLEDif sessions are disabled. -
PHP_SESSION_NONEif sessions are enabled, but none exists. -
PHP_SESSION_ACTIVEif sessions are enabled, and one exists.
Veja Também
- session_start() - Inicia dados de sessão