Removes custom properties from the session.
{% unset_session properties? %}
{% unset_dictionary %}
{% set_session %}
{% unset_client %}
{% unset_client_permission %}
{% unset_profile %}
{% unset_profile_setting %}
{% unset_cookie %}
{{ session }}
Unsets the specified profile settings from the auth profile (which is not necessarily the same as the currently-logged in profile). For settings with default values this will set them back to their defaults. For settings without default values this will set them to empty/unselected/false. If any of the specified settings is required, it will result in an invalid_value error and will prevent any of the new settings from being unset. If the auth is aborted then the unset settings will not be saved in between requests.
{% auth unset_setting settings %}
Error Codes:
command_disabled - Indicates that the current method has been disabled at the site level. This will be set for any auth method if profiles are disabled.
no_init - Indicates that no initialization method has been called yet.
aborted - Indicates that the method could not be performed because {% auth abort %} has been called.
invalid_value - One or more of the settings is required.
{% auth set_setting %}
{% set_profile_setting %}
{% unset_profile_setting %}
{% auth unset_attribute %}
Demonstrates how to unset Session.
Unset Session
CopyDemonstrates how to unset Session Properties dynamically.
Unset Session Properties dynamically
CopyDemonstrates how to unset multiple Session properties.
Unset multiple Session properties
Copy