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.
$125 per month—let's make that $500!Learn more
Returns an array of user session context keys.
array getSessionContexts ()
Get all user seesion contexts for this user that is logged into the web and mgr contexts:
$keys = $user->getSessionContexts(); print_r($keys); // prints Array ( 'web', 'mgr' );