/
UI Clear Cookies (sui:clear-cookies)

UI Clear Cookies (sui:clear-cookies)

Clear cookies for a given webpage. If "cookieName" is provided then only the specific cookie will be deleted otherwise all cookies will be deleted

Usage

<sui:clear-cookies cookieName=""?/>

! - mandatory, ? - optional

Examples

Example

Behaviour

Example

Behaviour

<sui:clear-cookies />

Clear all cookies of the webpage.

<sui:clear-cookies cookieName="auth"/>

This will only clear the cookie named "auth". If the cookie is not available then nothing will be deleted



 

Related content