# Doel van safeLocalStorage cookie

**URL:** https://meta.discourse.org/t/purpose-of-safelocalstorage-cookie/219603
**Category:** Support
**Created:** [28 februari 2022 om 17:05 UTC](https://meta.discourse.org/t/purpose-of-safelocalstorage-cookie/219603 "2022-02-28T17:05:26Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![s-moon](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@s-moon](https://meta.discourse.org/u/s-moon)
#### Post date: [28 februari 2022 om 17:05 UTC](https://meta.discourse.org/t/purpose-of-safelocalstorage-cookie/219603/1 "2022-02-28T17:05:26Z")

</div>

Could anyone please tell me the purpose of this cookie?

`safeLocalStorage`

This cookie was flagged by a system called CookieBot and found on our `/login` page.

It doesn’t appear in this list:

> [@(Deprecated) List of cookies used by Discourse](https://meta.discourse.org/t/list-of-cookies-used-by-discourse/83690):
>
> no_entry This topic is no longer being updated, and may not contain current information! To understand how Discourse uses cookies, please check the [cookies section of our privacy notice](https://www.discourse.org/privacy#heading--cookies). Name Essential Expires Description Contains personal data email Y Session Used during account creation, login, or password reset to prefill form. Created when E-mail address is provided in URL as a query parameter. Y destination\_url Y Session Used during login to redirect to the requested page. C…

And I can’t see any mention of it by searching here.

Oddly, when I visit our site, log in, log out, etc. I can’t see the cookie so am wondering whether it is temporarily created and then removed? We need to classify/remove this cookie for as part of the UK’s cookie rules.

Our forum is version: 2.8.0.beta8, running in Docker, on Linux.

Thank you, Steve

---

<div class="post-metadata">

### Author: ![Benjamin\_D](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/benjamin_d/32/277831_2.png) [@Benjamin\_D](https://meta.discourse.org/u/Benjamin_D)
#### Post date: [28 februari 2022 om 21:18 UTC](https://meta.discourse.org/t/purpose-of-safelocalstorage-cookie/219603/2 "2022-02-28T21:18:51Z")

</div>

Not a cookie per se but [// A simple key value store that uses LocalStorage](https://github.com/discourse/discourse/blob/2fc70c5572ca3a4b1bc100f9fdbc911cfe6cd015/app/assets/javascripts/discourse/app/lib/key-value-store.js#L1), it [// makes sure we can write to the local storage](https://github.com/discourse/discourse/blob/2fc70c5572ca3a4b1bc100f9fdbc911cfe6cd015/app/assets/javascripts/discourse/app/lib/key-value-store.js#L9)

localStorage can be browsed for instance in the application tab of the Chrome Developer Tools :

 ![image](https://global.discourse-cdn.com/meta/original/3X/3/1/31abf2eaa6cb5ca8abde2ca8efe745a7c06dcf3d.png)

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [30 maart 2022 om 21:18 UTC](https://meta.discourse.org/t/purpose-of-safelocalstorage-cookie/219603/3 "2022-03-30T21:18:53Z")

</div>

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