# Announcement Bar

**URL:** <https://meta.discourse.org/t/announcement-bar/286352>\
**Category:** Theme component\
**Created:** [November 22, 2023, 5:50pm UTC](https://meta.discourse.org/t/announcement-bar/286352 "2023-11-22T17:50:08Z")\
**Posts on this page:** 1\
**Showing post:** 21

<div class="post-metadata">

**Author:** ![manuel](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/manuel/32/468169_2.png) [@manuel](https://meta.discourse.org/u/manuel)\
**Post date:** [June 19, 2024, 5:28pm UTC](https://meta.discourse.org/t/announcement-bar/286352/21 "2024-06-19T17:28:34Z")

</div>

@Aaron_Walsh what I can reproduce:

- dismiss the announcement bar, either as a user or anonymous visitor
- log out or switch to a different user account on the same browser
- the bar will not show on the same browser

So I assume this is a cache issue. Apparently the way the cookie is implemented is not sensitive to the user account but to the browser history. I copied the cookie code from another component and I’m not very knowledgeable about how cookies work in detail. Happy to change the code if it’s actually possible and someone has the code. Else I’m not that concerned about it. What I see is that it only affects the same browser, and the bar is not dismissed for other users on their respective session.

---

_[View the full topic](https://meta.discourse.org/t/announcement-bar/286352)._
