Please wait while we load your page...
 

Announcements

PHP Manual :: session_status



session_start || session_unregister || Session Functions || PHP Manual

(PHP >=5.4.0)

session_statusReturns the current session status

Description

int session_status ( void )

session_status() is used to return the current session status.

Return Values

  • 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.

See Also



session_start || session_unregister || Session Functions || PHP Manual
Live Chat Not Available