# Clearing Cookies when closing tabs AND forcing quitting the app

**URL:** <https://community.brave.app/t/clearing-cookies-when-closing-tabs-and-forcing-quitting-the-app/594850>\
**Category:** Nightly Builds\
**Tags:** macos, bug\
**Created:** [January 26, 2025, 2:25am UTC](https://community.brave.app/t/clearing-cookies-when-closing-tabs-and-forcing-quitting-the-app/594850 "2025-01-26T02:25:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![NamelessGO](https://avatars.discourse-cdn.com/v4/letter/n/e19b73/32.png) [@NamelessGO](https://community.brave.app/u/NamelessGO)\
**Post date:** [January 26, 2025, 2:25am UTC](https://community.brave.app/t/clearing-cookies-when-closing-tabs-and-forcing-quitting-the-app/594850/1 "2025-01-26T02:25:43Z")

</div>

The settings below are supposed to prevent this, however in Nightly, they are being cleared when closing tabs and force quitting, however if i only force quit without closing the tab, then the cookies are saved/uncleared

`brave://settings/clearBrowserData` Cookies and other data, site configuration and security (shield) are unticked

 ![image](https://global.discourse-cdn.com/brave/original/3X/9/a/9a0db4fa6c398df0b5cafa63fe95ca4a543ceca6.png)

`brave://settings/content/siteData`, i had set up exceptions to always save cookies

 ![image](https://global.discourse-cdn.com/brave/original/3X/a/8/a83bd57587efff57c7af8f0730145b856f5ecc6b.png)

Steps to reproduce

1. untick Cookies and other data, site configuration and security (shield), such as the first image
2. set exceptions in allow apps to save data, `https://www.reddit.com/` or `https://chatgpt.com/`
3. Log to one website that you had an exception on
4. Close the tab and force quit

The cookies are cleared and you are required to log-in again

notice: if you force quit brave, but not close the tab, then the cookie won’t be deleted

Debug: Versão 1.76.37 Chromium: 132.0.6834.111 (Versão oficial) nightly (arm64)  
Mac Version: 15.2

+1 on [[Desktop] Allow users to add site exceptions for data that is cleared “on exit” #10493](https://github.com/brave/brave-browser/issues/10493)

---

<div class="post-metadata">

**Author:** ![NamelessGO](https://avatars.discourse-cdn.com/v4/letter/n/e19b73/32.png) [@NamelessGO](https://community.brave.app/u/NamelessGO)\
**Post date:** [January 26, 2025, 2:59am UTC](https://community.brave.app/t/clearing-cookies-when-closing-tabs-and-forcing-quitting-the-app/594850/2 "2025-01-26T02:59:23Z")

</div>

Missed this setting in `brave://settings/shields`, hopefully others can learn from my mistake

 ![image](https://global.discourse-cdn.com/brave/original/3X/c/2/c2ca02c419438c043a6ac21bfa81daf51dd7d0e8.png)

Please add the feature request above that has been asked since 2020 by more than 50 reaction users, because there are **3 settings** that MUST be fulfilled to avoid clearing specified website cookies while chrome has 1 setting

---

<div class="post-metadata">

**Author:** ![joywalim6](https://avatars.discourse-cdn.com/v4/letter/j/ecc23a/32.png) [@joywalim6](https://community.brave.app/u/joywalim6)\
**Post date:** [June 23, 2025, 5:00pm UTC](https://community.brave.app/t/clearing-cookies-when-closing-tabs-and-forcing-quitting-the-app/594850/3 "2025-06-23T17:00:58Z")

</div>

Enable Clear cookies on exit in browser settings to auto delete on close and quit.
