Skip to content

Clear Browser Cookies

Batyah Rubin edited this page Jan 26, 2023 · 6 revisions

You're currently viewing XMPL V3

Attention: XMPL V5 beta is now available!

In order to ensure that the recipient is remembered when he/she opens a different page or reopens the site, the browser saves the current recipient ID in cookies. If you want to insert or work with multiple recipients in the same browser, you can clear browser cookies using one the following ways:

Option 1

Add xmp-clear-all-cookies-onload to the body tag. On page load, the browser cookies are cleared.

<body ng-controller="XMPAnonymousPage" xmp-clear-all-cookies-onload >

Option 2

Add xmp-clear to the button. On button click, the browser cookies are cleared.

<button xmp-clear>Clear</button>
Clone this wiki locally