# How to access local storage data?

**URL:** <https://forum.bubble.io/t/how-to-access-local-storage-data/113196>\
**Category:** Questions\
**Created:** [September 25, 2020, 3:29pm UTC](https://forum.bubble.io/t/how-to-access-local-storage-data/113196 "2020-09-25T15:29:28Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![vovahumnytskiy](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/vovahumnytskiy/32/235953_2.png) [@vovahumnytskiy](https://forum.bubble.io/u/vovahumnytskiy)\
**Post date:** [September 25, 2020, 3:29pm UTC](https://forum.bubble.io/t/how-to-access-local-storage-data/113196/1 "2020-09-25T15:29:28Z")

</div>

Is there a way to save data to local storage and then retrieve it and manipulate it?  
I am trying to solve this issue in the topic below:

> [@Save user session KEY (custom states? must not use DB)](http://forum.bubble.io/t/save-user-session-key-custom-states-must-not-use-db/113148/2):
>
> Guys, I need you. I’ve tried custom states + transferring data between pages. It is unreliable. I need to access user-token KEY & objectId KEY even when the user closes my app and comes back after 20 minutes. [user1] [user2] [user3] [user4]

---

<div class="post-metadata">

**Author:** ![JohnMark](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/johnmark/32/42431_2.png) [@JohnMark](https://forum.bubble.io/u/JohnMark)\
**Post date:** [September 25, 2020, 8:34pm UTC](https://forum.bubble.io/t/how-to-access-local-storage-data/113196/2 "2020-09-25T20:34:28Z")

</div>

Have you looked at the Zerocode Browser Storage plugin with encrypted data?

---

<div class="post-metadata">

**Author:** ![vovahumnytskiy](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/vovahumnytskiy/32/235953_2.png) [@vovahumnytskiy](https://forum.bubble.io/u/vovahumnytskiy)\
**Post date:** [September 25, 2020, 8:35pm UTC](https://forum.bubble.io/t/how-to-access-local-storage-data/113196/3 "2020-09-25T20:35:31Z")

</div>

I’ve immediately picked up this plugin to test because it’s free to test

---

<div class="post-metadata">

**Author:** ![josh10](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/josh10/32/82900_2.png) [@josh10](https://forum.bubble.io/u/josh10)\
**Post date:** [September 25, 2020, 8:46pm UTC](https://forum.bubble.io/t/how-to-access-local-storage-data/113196/4 "2020-09-25T20:46:08Z")

</div>

Thank God you did it immediately @vovahumnytskiy. I was worried you would wait after @JohnMark suggestion. 😆

---

<div class="post-metadata">

**Author:** ![vovahumnytskiy](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/vovahumnytskiy/32/235953_2.png) [@vovahumnytskiy](https://forum.bubble.io/u/vovahumnytskiy)\
**Post date:** [September 25, 2020, 8:55pm UTC](https://forum.bubble.io/t/how-to-access-local-storage-data/113196/5 "2020-09-25T20:55:31Z")

</div>

Guys, @JohnMark, @josh10 sorry for confusing you in my previous message.  
I thought that I and @JohnMark are in this thread:

> [@\[New FREE plugin\] Session & Local Storage (web storage API)](http://forum.bubble.io/t/new-free-plugin-session-local-storage-web-storage-api/103755):
>
> Hola nocoders! We made a new DOM storage plugin, completely free to use slight_smile Happy building!! Some info: Instructions Web storage or DOM storage, provides web applications with methods for storing client-side data. Web storage supports persistent data storage, similar to cookies but with a greatly enhanced capacity and no information stored in the HTTP request header. This plugin makes it easy to integrate and use Web storage in your Workflows. To use the Web storage, simply dr…

So, I answered respectively.  
Thank you for your attention.  
Have a nice day.  
Wish you a Merry Christmas.

---

<div class="post-metadata">

**Author:** ![josh10](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/josh10/32/82900_2.png) [@josh10](https://forum.bubble.io/u/josh10)\
**Post date:** [September 25, 2020, 9:07pm UTC](https://forum.bubble.io/t/how-to-access-local-storage-data/113196/6 "2020-09-25T21:07:11Z")

</div>

All good man! Glad you figured it out.

---

<div class="post-metadata">

**Author:** ![vovahumnytskiy](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/vovahumnytskiy/32/235953_2.png) [@vovahumnytskiy](https://forum.bubble.io/u/vovahumnytskiy)\
**Post date:** [September 25, 2020, 9:16pm UTC](https://forum.bubble.io/t/how-to-access-local-storage-data/113196/7 "2020-09-25T21:16:24Z")

</div>

@JohnMark, have you used the Zerocode Browser Storage plugin? What was your use case, is it secure? I know, that even encryption does not help.

---

<div class="post-metadata">

**Author:** ![JohnMark](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/johnmark/32/42431_2.png) [@JohnMark](https://forum.bubble.io/u/JohnMark)\
**Post date:** [September 25, 2020, 9:25pm UTC](https://forum.bubble.io/t/how-to-access-local-storage-data/113196/8 "2020-09-25T21:25:27Z")

</div>

Hello @vovahumnytskiy,

I have been using the plugin for years. What is your desired goal? You can encrypt your data before using the storage. We should not put in crucial data that can be compromised without a good form of encryption in my opinion.

---

<div class="post-metadata">

**Author:** ![vovahumnytskiy](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/vovahumnytskiy/32/235953_2.png) [@vovahumnytskiy](https://forum.bubble.io/u/vovahumnytskiy)\
**Post date:** [September 25, 2020, 9:40pm UTC](https://forum.bubble.io/t/how-to-access-local-storage-data/113196/9 "2020-09-25T21:40:24Z")

</div>

I think I can’t avoid putting crucial data inside LocalStorage, because I need to use API keys and save them on the client-side, not the server-side.

But I have another problem that bothers me. I use that free plugin. Can you help me with the issue, you’ve used Zeroqode’s plugin, it seems they are similar

---

<div class="post-metadata">

**Author:** ![vovahumnytskiy](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/vovahumnytskiy/32/235953_2.png) [@vovahumnytskiy](https://forum.bubble.io/u/vovahumnytskiy)\
**Post date:** [September 25, 2020, 9:43pm UTC](https://forum.bubble.io/t/how-to-access-local-storage-data/113196/10 "2020-09-25T21:43:49Z")

</div>

![owrlflow](https://us1.discourse-cdn.com/bubble/original/3X/5/3/53d6072b91d7d0516a72d2dbc28ebb6389eb4690.png)  
This workflow does not work, when I login the second time. I mean, technically it works, but WebStorage’s(LocalStorage’s) data remains from the first user.

---

<div class="post-metadata">

**Author:** ![JohnMark](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/johnmark/32/42431_2.png) [@JohnMark](https://forum.bubble.io/u/JohnMark)\
**Post date:** [September 25, 2020, 9:58pm UTC](https://forum.bubble.io/t/how-to-access-local-storage-data/113196/11 "2020-09-25T21:58:16Z")

</div>

> [@vovahumnytskiy](#):
>
> data remains from the first user

I did not use the free plugin. There may be a bug. Try again with the ZeroQode plugin. If you get the same result, the problem is elsewhere.
