---
title: "Comment by Osinachi Chukwujama  on \"Client-Side Storage in JavaScript\" | Hashnode"
description: "Thank you for this post, Victoria You said something about localStorage being accessible anywhere on the browser. Can you give more insights on this?"
url: "https://hashnode.com/posts/client-side-storage-in-javascript/5f0af50bf80d68509e50d165/comment/5f0d6c5802afcd6941857767"
---

[Discussion](https://hashnode.com/posts/client-side-storage-in-javascript/5f0af50bf80d68509e50d165)

Comment [Client-Side Storage in JavaScript](https://hashnode.com/posts/client-side-storage-in-javascript/5f0af50bf80d68509e50d165)

[Osinachi Chukwujama](https://hashnode.com/@Vicradon)

[Jul 14, 2020](https://hashnode.com/posts/client-side-storage-in-javascript/5f0af50bf80d68509e50d165/comment/5f0d6c5802afcd6941857767)

Thank you for this post, Victoria

You said something about localStorage being accessible anywhere on the browser.

Can you give more insights on this?

[Victoria Lo](https://hashnode.com/@victoria)

[Jul 14, 2020](https://hashnode.com/posts/client-side-storage-in-javascript/5f0af50bf80d68509e50d165/comment/5f0d6c5802afcd6941857767#reply-5f0d8a4252084a76c4ac0dd8)

Sure! I can illustrate this using the Inspector Window. If you are unsure of what it is: visit [here](https://ui.vision/howto/view-local-storage).

For localStorage, you can access and view it on the Inspector Window. It will be there, 1 localStorage shared across all your tabs. Data persists even after the browser closes and opens again.

For sessionStorage, you can view it on the Inspector too however, you will notice each page will have its own sessionStorage and its data would disappear if the page/browser is closed.

[Osinachi Chukwujama](https://hashnode.com/@Vicradon)

[Jul 14, 2020](https://hashnode.com/posts/client-side-storage-in-javascript/5f0af50bf80d68509e50d165/comment/5f0d6c5802afcd6941857767#reply-5f0dab1e52084a76c4ac0eb6)

[Victoria Lo](https://hashnode.com/@victoria) I think I get it now.

You mean for the same web address, the localstorage is shared across multiple tabs

I previously thought you meant the data in localstorage from one web address can be accessed by another

[Victoria Lo](https://hashnode.com/@victoria)

[Jul 14, 2020](https://hashnode.com/posts/client-side-storage-in-javascript/5f0af50bf80d68509e50d165/comment/5f0d6c5802afcd6941857767#reply-5f0db78452084a76c4ac0f28)

[Osinachi Chukwujama](https://hashnode.com/@Vicradon) Yes it's per domain and port (like [same origin policy](https://en.wikipedia.org/wiki/Same-origin_policy)).
