1

I'm using the local storage functionality on a website using JQuery and it occurred to me that I have no idea where information is actual being stored. After some research the best I could find was that its stored "Locally". Does anyone have anymore information on this subject?

EDIT: I appreciate the responses and I do now feel more informed. However im still struggling to find the local storage location specifically in IE11 on windows 10.

Srb1313711
  • 2,017
  • 5
  • 24
  • 35

3 Answers3

2

It doesn't matter where it is.

As a Front End Developer you can access it through the browser LocalStorage API.

As a User you can access it through developer tools. enter image description here

The exact implementation varies from browser to browser...

strah
  • 6,702
  • 4
  • 33
  • 45
0

This is browser specific and path may vary depending on the OS. Couple of them are listed below:

For Chrome(windows): %LocalAppData%\Google\Chrome\User Data\Default\Local Storage\

For Firefox C:\Users\\AppData\Roaming\Mozilla\Firefox\Profiles\\webappsstore.sqlite %APPDATA%\Mozilla\Firefox\Profiles\\webappsstore.sqlite

Anurag Sinha
  • 1,014
  • 10
  • 17
0

The local storage variables are stored in the web browser, you can access inspecting the page and then you can see all the DOM objects in the DOM tab.

You can use the filter to find the specific DOM object in this case the local storage.

enter image description here

Jorge Mejia
  • 1,153
  • 1
  • 10
  • 27