# Errors after missing a logout notification

**URL:** https://meta.discourse.org/t/errors-after-missing-a-logout-notification/30527
**Category:** Bug
**Created:** [June 27, 2015, 10:45am UTC](https://meta.discourse.org/t/errors-after-missing-a-logout-notification/30527 "2015-06-27T10:45:03Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![fefrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fefrei/32/119538_2.png) [@fefrei](https://meta.discourse.org/u/fefrei)
#### Post date: [June 27, 2015, 10:45am UTC](https://meta.discourse.org/t/errors-after-missing-a-logout-notification/30527/1 "2015-06-27T10:45:03Z")

</div>

When a Discourse tab is open, and the user is logged out remotely (by strict logout or the admin), normally, you receive a push notification that tells you you were logged out and need to refresh this page.

If this notification is missed, multiple things error out.

Steps to reproduce:

- log in to a test account
- disconnect from the network
- use an admin account on another device to logout the test user
- reconnect to the network
- try to use Discourse, e.g. open your profile

I’d expect that Discourse notices that your session is invalid, and simply refreshes the page. Instead, you get the standard `:(` error message. If you don’t know what caused this, it can be quite confusing until you manually reload the page.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [January 24, 2018, 7:59pm UTC](https://meta.discourse.org/t/errors-after-missing-a-logout-notification/30527/2 "2018-01-24T19:59:05Z")

</div>

I know this is ANCIENT, but I am closing this in favor of [Better detection of "cookies deleted" in the application - #3 by fefrei](https://meta.discourse.org/t/better-detection-of-cookies-deleted-in-the-application/78800/3) which covers the implementation in detail.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [January 24, 2018, 7:59pm UTC](https://meta.discourse.org/t/errors-after-missing-a-logout-notification/30527/3 "2018-01-24T19:59:14Z")

</div>


