# Clear all cookies and site data at the end of the session - Doesn't persist

**URL:** <https://community.brave.app/t/clear-all-cookies-and-site-data-at-the-end-of-the-session-doesnt-persist/89221>\
**Category:** Desktop Support\
**Tags:** linux\
**Created:** [October 25, 2019, 4:14pm UTC](https://community.brave.app/t/clear-all-cookies-and-site-data-at-the-end-of-the-session-doesnt-persist/89221 "2019-10-25T16:14:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thomas-Godart](https://avatars.discourse-cdn.com/v4/letter/t/f07891/32.png) [@Thomas-Godart](https://community.brave.app/u/Thomas-Godart)\
**Post date:** [October 25, 2019, 4:14pm UTC](https://community.brave.app/t/clear-all-cookies-and-site-data-at-the-end-of-the-session-doesnt-persist/89221/1 "2019-10-25T16:14:12Z")

</div>

Clear all cookies and site data at the end of the session should do what it is claiming, and that choice should be persistent. It is not.

Steps to Reproduce:

1. open brave://settings/content/cookies and select “Clear all cookies and site data at the end of the session”
2. close Brave
3. open again brave://settings/content/cookies and verify that the selection status is lost

The status of this setting should persist sessions, like it does in Chrome.

Seen on Ubuntu 18.04 Brave 0.70.121 Chromium: 78.0.3904.70 (official build) (64 bits)

---

<div class="post-metadata">

**Author:** ![Mattches](https://sea1.discourse-cdn.com/brave/user_avatar/community.brave.app/mattches/32/25189_2.png) [@Mattches](https://community.brave.app/u/Mattches)\
**Post date:** [October 25, 2019, 5:10pm UTC](https://community.brave.app/t/clear-all-cookies-and-site-data-at-the-end-of-the-session-doesnt-persist/89221/2 "2019-10-25T17:10:43Z")

</div>

@Thomas-Godart,  
Thanks for reaching out to us. This issue is actually already known and currently being addressed: [https://github.com/brave/brave-browser/issues/6119](https://github.com/brave/brave-browser/issues/6119)

Note that instead of using that toggle, I would recommend going to `History --> Clear browsing data --> On exit` and using this function to clear data when you quit Brave

---

<div class="post-metadata">

**Author:** ![Thomas-Godart](https://avatars.discourse-cdn.com/v4/letter/t/f07891/32.png) [@Thomas-Godart](https://community.brave.app/u/Thomas-Godart)\
**Post date:** [October 25, 2019, 5:52pm UTC](https://community.brave.app/t/clear-all-cookies-and-site-data-at-the-end-of-the-session-doesnt-persist/89221/3 "2019-10-25T17:52:19Z")

</div>

Thank you Mattches for your answer. But I wouldn’t try what you suggest, because I’m logged in dozens of websites and the feature we’re talking about is preserving the trusted websites cookies while removing the rest, and I’m pretty sure that the purge before closing Brave option does not. Am I right?

---

<div class="post-metadata">

**Author:** ![Mattches](https://sea1.discourse-cdn.com/brave/user_avatar/community.brave.app/mattches/32/25189_2.png) [@Mattches](https://community.brave.app/u/Mattches)\
**Post date:** [October 25, 2019, 8:15pm UTC](https://community.brave.app/t/clear-all-cookies-and-site-data-at-the-end-of-the-session-doesnt-persist/89221/4 "2019-10-25T20:15:35Z")

</div>

@Thomas-Godart,  
Good catch – you’re absolutely right and I’m very glad you pointed that out. I’ve actually been making noise about this internally in hopes to make the process easier. I think having the two different `On exit` toggles is unnecessary and the function should be consolidated into our `On exit` option.

Hopefully someone will hear those noises. Additionally, I believe in the interim, the issue above already has a PR submitted so you should see this fixed in the next browser update.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/brave/original/3X/1/8/182067f3480d1a5e7aea5ae3131b116ca1ef7918.png) [@system](https://community.brave.app/u/system)\
**Post date:** [December 24, 2019, 8:27pm UTC](https://community.brave.app/t/clear-all-cookies-and-site-data-at-the-end-of-the-session-doesnt-persist/89221/5 "2019-12-24T20:27:34Z")

</div>

Closed on December 24, 2019, 8:27pm UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
