session_status Returns the current session status


session_status

(No version information available, might only be in SVN)

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.

参见


«  session_start
» session_unregister
快速导航

Copyright © 2016 phpStudy | 豫ICP备2021030365号-3