# Local storage question

**URL:** <https://forum.freecodecamp.org/t/local-storage-question/444806>\
**Category:** Curriculum Help\
**Tags:** javascript\
**Created:** [February 6, 2021, 8:47pm UTC](https://forum.freecodecamp.org/t/local-storage-question/444806 "2021-02-06T20:47:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![roymichaelsmith](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/roymichaelsmith/32/195266_2.png) [@roymichaelsmith](https://forum.freecodecamp.org/u/roymichaelsmith)\
**Post date:** [February 6, 2021, 8:47pm UTC](https://forum.freecodecamp.org/t/local-storage-question/444806/1 "2021-02-06T20:47:07Z")

</div>

I created an index page in HTML. Using JS, I save data to local storage. The code works and each time I change a field and press the button it updates local storage.

However, if I open up the same index page in Fire-fox and in Google Chrome, changes made within each browser seems to update different stored data. It appears that each browser has its own memory location even though I use the same computer.

Is this the case? Is it possible to have two different browser instances of the same page access and update the same local storage?

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [February 6, 2021, 8:49pm UTC](https://forum.freecodecamp.org/t/local-storage-question/444806/2 "2021-02-06T20:49:38Z")

</div>

no, local storage is just for the single browser, and until local storage is cleaned

if you want data to stay between different clients you need to implement a back-end

---

<div class="post-metadata">

**Author:** ![roymichaelsmith](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/roymichaelsmith/32/195266_2.png) [@roymichaelsmith](https://forum.freecodecamp.org/u/roymichaelsmith)\
**Post date:** [February 8, 2021, 9:10am UTC](https://forum.freecodecamp.org/t/local-storage-question/444806/3 "2021-02-08T09:10:22Z")

</div>

Thank you for your response.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/freecodecamp/original/3X/e/1/e1c433102e34b46dfaa3e15d13ab9a514b127078.svg) [@system](https://forum.freecodecamp.org/u/system)\
**Post date:** [August 9, 2021, 9:11pm UTC](https://forum.freecodecamp.org/t/local-storage-question/444806/4 "2021-08-09T21:11:18Z")

</div>

Closed on August 9, 2021, 9:11pm UTC

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