Brave clearing cookies when I close tabs

Before today, Brave would delete all cookies only when I closed the entire browser window. I have it set to do so in Settings (clear all cookies upon closing all windows). Beginning today, Brave seems to be deleting cookies as soon as I close the tab even if the rest of the window is still open, meaning if I log into a site and then close that tab, I need to login to that site again.

Steps to Reproduce:

  1. I login to a site.
  2. I close the tab with that site while leaving the window + other tabs open.
  3. I open that site again in a new tab.

Actual Result: The site opens in the tab with me signed out. I need to sign-in again.

Expected result: Prior to today, the site would have left me signed in until I closed the entire browser window.

Reproduces how often: All the time beginning today.

Windows 10, 64-bit
Brave: Version 1.37.111 Chromium: 100.0.4896.79 (Official Build) (64-bit)

1 Like

I’m having the exact same issue

Having the same issue here with Brave 1.37.116 under Fedora. When a tab is closed, all cookies associated with that tab disappear.

Still having this issue as of the most recent update (Version 1.37.116 Chromium: 100.0.4896.127 (Official Build) (64-bit)).

Thank you for reporting — taking a look now. can everyone please tell me what version of windows they’re using when they see this behavior?

I have Windows 10, 21H1, OS build 19043.1645, Windows Feature Experience Pack 120.2212.4170.0.

I’m on mac, Catalina 10.15.6

Same issue here as well, logs out on tab close - didn’t do this before:

Windows 10 Pro 21H1 19043.1645 Windows Feature Experience Pack 120.2212.4170.0
Brave [Version 1.37.116 Chromium: 100.0.4896.127 (Official Build) (64-bit)]

We an issue

and a fix for this on the way:

As of the most current Brave update ([Version 1.38.109 Chromium: 101.0.4951.41 (Official Build) (64-bit)), the tabs seem to be working as expected. Thanks for the fix!

Edit: This is only partially resolved. If a domain is on the “Sites that clear cookies when you close them” list, relevant cookies are still cleared upon tab closure, as opposed to when exiting the browser. It would be great to get some feedback on if this new behavior is an intended change.

@bufanzo,
You’re seeing this after the latest update as well ( v1.38.109)?

@Mattches, Not entirely, but I do think that I understand what has happened here. The “Always clear cookies when windows are closed” list from previous versions has been renamed “Sites that clear cookies when you close them”, and this reflects an intended change in Brave’s handling of cookies. Is this accurate? Are domains under the “Sites that clear cookies when you close them” list now supposed to have their cookies removed upon tab closure?

If this is the case then it would appear that not only has the issue been fixed, but Brave’s handling of cookies has been improved.

Actually no worries, I get it now. The breakage in the previous version - in conjunction with the new changes to cookie handling - had me confused for a bit. All fixed in the latest release, and the more advanced cookie blacklisting capabilities are great.

1 Like

Beautiful — love to hear it. Thank you for updating.

1 Like