{% logout %}

Use this tag to log the current profile out

Syntax

{% logout
[clear_session]
 
Specifies that all session information should be completely reset, including the session id, session start date, and any session properties that have been set.
[clear_cookies]
 
Specifies that the cookies should be cleared. This will clear all cookies with the possible exception of the permissions cookie.
[clear_permissions]
 
Specifies that all permissions should be immediately unset. This is not the same thing as denying permissions - they will simply be unspecified. If the site is configured to allow sessions by default then the session permission will be allowed.
[save_changes]
 
If there are any changes to the profile attributes or settings, these changes will be saved before logging off when save_changes is specified. If save_changes is not specified then any changes to the profile settings and attributes will NOT be saved.
%}

Examples

Logout

Copy
{% logout %}

Logout clear session

Copy
{% logout clear_session %}

Logout clear cookies

Copy
{% logout clear_cookies %}

Logout clear session and cookies

Copy
{% logout clear_session clear_cookies %}