update : 2015.11.03
php.shukuma.com

검색:
 
 
Returns the current session status

session_status

(PHP >=5.4.0)

session_statusReturns the current session status

설명

int session_status ( void )

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

반환값

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

참고