modUser.removeSessionCookie
Last updated Apr 17th, 2019 | Page history | Improve this page | Report an issue
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
$306 per month—let's make that $500!
Learn moremodUser::removeSessionCookie¶
Removes a session cookie for a user.
Syntax¶
void removeSessionCookie (string $context)
Example¶
Remove the Session Cookie for the User in the 'sports' Context.
$user->removeSessionCookie('sports');
See Also¶
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
$306 per month—let's make that $500!
Learn more