3

According to :

localStorage.setItem( key , value ); // global - not per session
sessionStorage.setItem("username", "John"); //per session 

question :

where does it actually save the storage file/item ?

(multi browser answer will be much appreciated).

Royi Namir
  • 144,742
  • 138
  • 468
  • 792

3 Answers3

1

From a quick couple of searches on Google:

For Chrome:

http://www.techskater.com/web-stuff/accessing-google-chrome-extension-local-storage-database/

For Firefox:

https://developer.mozilla.org/en/DOM/Storage#Storage_location_and_clearing_the_data

IE:

Where in the filesystem does IE8 store values stored in localStorage?

Community
  • 1
  • 1
Greg
  • 31,180
  • 18
  • 65
  • 85
0

Some other stackoverflow answers have additional details:

Community
  • 1
  • 1
Kevin Hakanson
  • 41,386
  • 23
  • 126
  • 155
0

The links for the storage-area for chrome no longer works and the information on the Mozilla site is not of much use.

Windows 7: The physical location for chrome is within AppData\Local\Google\Chrome\User Data\Default\Local Storage and for Mozilla its AppData\Roaming\Mozilla\Firefox\Profiles\uvsb3rxs.default\storage\persistent\moz-safe-about+home

I have not found Internet Explorer's localstorage folder. If any person knows its whereabouts, please let me know.

Regards

hemis
  • 45
  • 1
  • 2
  • 11