Jump to main content Jump to doc navigation

modUser::endSession

Ends a user session completely, including all contexts.

Syntax

API Doc: http://api.modx.com/revolution/2.2/db_core_model_modx_moduser.class.html#%5CmodUser::endSession()

void endSession ()

Example

End the user's session.

$user->endSession();

See Also