Last updated Apr 6th, 2019 | Page history | Improve this page | Report an issue
Removes the session vars associated with a specific context.
API Doc: http://api.modx.com/revolution/2.2/db_core_model_modx_moduser.class.html#%5CmodUser::removeSessionContextVars()
void removeSessionContextVars (string $context)
Remove all session vars for the User in the 'sports' Context.
$user->removeSessionContextVars('sports');