# Logsout when tab is closed instead of window

**URL:** <https://community.brave.app/t/logsout-when-tab-is-closed-instead-of-window/381780>\
**Category:** Desktop Support\
**Tags:** windows\
**Created:** [April 21, 2022, 4:52pm UTC](https://community.brave.app/t/logsout-when-tab-is-closed-instead-of-window/381780 "2022-04-21T16:52:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![bharath.madduri](https://avatars.discourse-cdn.com/v4/letter/b/f17d59/32.png) [@bharath.madduri](https://community.brave.app/u/bharath.madduri)\
**Post date:** [April 21, 2022, 4:52pm UTC](https://community.brave.app/t/logsout-when-tab-is-closed-instead-of-window/381780/1 "2022-04-21T16:52:29Z")

</div>

**Description of the issue:** Logsout any page if tab is closed.

After the latest update if I close any tab it just logs me out of it.  
Ex: If I login to stackoverflow, fb, gmail etc and closes the tab it logs me out of it, though I did not logout myself. The feature should work if I close the browser(clear cookies on exit) but it is performing clear(cookies) after a tab is closed(if it has login system)

**Brave Version( check `About Brave`):**  **V1.37.116**

---

<div class="post-metadata">

**Author:** ![joes\_chippy](https://avatars.discourse-cdn.com/v4/letter/j/e274bd/32.png) [@joes\_chippy](https://community.brave.app/u/joes_chippy)\
**Post date:** [April 24, 2022, 8:04pm UTC](https://community.brave.app/t/logsout-when-tab-is-closed-instead-of-window/381780/3 "2022-04-24T20:04:04Z")

</div>

Yes. It looks like the same issue as:

> [@Login cookies are getting deleted on Tab close](https://community.brave.app/t/login-cookies-are-getting-deleted-on-tab-close/382779):
>
> Started noticing this bug from 2 days ago. The Login cookies for websites are getting deleted when closing the tab, even while the brave browser remains open. So I have to login again when opening the website. Browser is in normal mode ( non-private ) It wasn’t like this before.

and

> [@How to keep access to Google and Gmail active?](https://community.brave.app/t/how-to-keep-access-to-google-and-gmail-active/382806/4):
>
> Hi Open brave://settings/passwords?search=pass Enable Offer to save passwords and Auto Sign-in

Try going to settings: Privacy & Security \>\> Cookies and Other Site Data \>\> Clear Cookies & Site Data and turn this setting off.

Reload Brave

Go back to setting: Privacy & Security \>\> Cookies and Other Site Data \>\>Clear browsing data\>\> on exit \>\> and select cookies and other site data.

Closing the tab should not now clear the cookies (Well it didn’t for me!) but reloading Brave did.

---

<div class="post-metadata">

**Author:** ![bharath.madduri](https://avatars.discourse-cdn.com/v4/letter/b/f17d59/32.png) [@bharath.madduri](https://community.brave.app/u/bharath.madduri)\
**Post date:** [April 25, 2022, 4:57am UTC](https://community.brave.app/t/logsout-when-tab-is-closed-instead-of-window/381780/4 "2022-04-25T04:57:26Z")

</div>

Executed as mentioned with no luck.

---

<div class="post-metadata">

**Author:** ![bharath.madduri](https://avatars.discourse-cdn.com/v4/letter/b/f17d59/32.png) [@bharath.madduri](https://community.brave.app/u/bharath.madduri)\
**Post date:** [April 29, 2022, 4:53am UTC](https://community.brave.app/t/logsout-when-tab-is-closed-instead-of-window/381780/5 "2022-04-29T04:53:54Z")

</div>

I don’t know what happened, the issue is auto fixed after couple of days.

---

<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:** [May 29, 2022, 4:54am UTC](https://community.brave.app/t/logsout-when-tab-is-closed-instead-of-window/381780/6 "2022-05-29T04:54:03Z")

</div>

Closed on May 29, 2022, 4:54am UTC

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