# Local DB or Local Storage

**URL:** https://community.thunkable.com/t/local-db-or-local-storage/76716
**Category:** Questions about Thunkable X
**Created:** [May 22, 2019, 4:59am UTC](https://community.thunkable.com/t/local-db-or-local-storage/76716 "2019-05-22T04:59:20Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Mr\_Nicolas](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/mr_nicolas/32/34033_2.png) [@Mr\_Nicolas](https://community.thunkable.com/u/Mr_Nicolas)
#### Post date: [May 22, 2019, 4:59am UTC](https://community.thunkable.com/t/local-db-or-local-storage/76716/1 "2019-05-22T04:59:20Z")

</div>

Hello dear community. I search but could not find clear answer. I want to know that if i use localDB component or “app” variable as user’s unique ID for recognizing the user wil user be able to get data on next session or not? or question would be more clear : what is differences between local DB and Local Storage (or “app” and “storage” variable)

thank you

---

<div class="post-metadata">

### Author: ![Cian\_O\_Sullivan](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/cian_o_sullivan/32/34494_2.png) [@Cian\_O\_Sullivan](https://community.thunkable.com/u/Cian_O_Sullivan)
#### Post date: [May 22, 2019, 1:43pm UTC](https://community.thunkable.com/t/local-db-or-local-storage/76716/2 "2019-05-22T13:43:57Z")

</div>

LocalDB is for storing snippets of information like UserID, progress in games etc.  
Local Storage is for storing assets like files and images.

---

<div class="post-metadata">

### Author: ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)
#### Post date: [May 22, 2019, 7:19pm UTC](https://community.thunkable.com/t/local-db-or-local-storage/76716/3 "2019-05-22T19:19:41Z")

</div>

Moved to #thunkable-cross

---

<div class="post-metadata">

### Author: ![gentleman2000](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/gentleman2000/32/27054_2.png) [@gentleman2000](https://community.thunkable.com/u/gentleman2000)
#### Post date: [May 15, 2020, 12:49pm UTC](https://community.thunkable.com/t/local-db-or-local-storage/76716/4 "2020-05-15T12:49:21Z")

</div>

in the storage\_local block in the call “save” how to determine where it will be stored in the device?

---

<div class="post-metadata">

### Author: ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)
#### Post date: [May 15, 2020, 1:10pm UTC](https://community.thunkable.com/t/local-db-or-local-storage/76716/5 "2020-05-15T13:10:29Z")

</div>

It is saved within the apps files I believe. This is the same idea as a Stateful variable

---

<div class="post-metadata">

### Author: ![gentleman2000](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/gentleman2000/32/27054_2.png) [@gentleman2000](https://community.thunkable.com/u/gentleman2000)
#### Post date: [May 15, 2020, 3:38pm UTC](https://community.thunkable.com/t/local-db-or-local-storage/76716/6 "2020-05-15T15:38:40Z")

</div>

ok . Thank you Jared.

---

<div class="post-metadata">

### Author: ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)
#### Post date: [November 8, 2024, 11:26am UTC](https://community.thunkable.com/t/local-db-or-local-storage/76716/7 "2024-11-08T11:26:45Z")

</div>


