Jump to main content Jump to doc navigation

modX::getSessionState

Возвращает состояние СЕССИИ, используемой modX.

Возможные значения для состояния сеанса:

  • modX::SESSION_STATE_UNINITIALIZED
  • modX::SESSION_STATE_UNAVAILABLE
  • modX::SESSION_STATE_EXTERNAL
  • modX::SESSION_STATE_INITIALIZED

Синтаксис

API Doc: modX::getSessionState()

integer getSessionState ()

Пример

$state = $modx->getSessionState();

Смотрите также

Support the team building MODX with a monthly donation.

The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.

Backers

Budget

$0 per month—let's make that $500!

Learn more