How does HTML5 store data stored locally using the local storage? (I am using the Chrome browser, Chrom browser is using SQLite to save local data)
The local storage of HTML5 is the data stored locally through the browser.
The basic use method is as follows:
- <script type="Text/javascript">
- Localstorage.firstname = "Tom";
- alert (localstorage.firstname);
- </script>
In this way, the data is saved locally, but the local data is saved in what form, followed by the discovery that in the Chrome browser, the data is stored in SQLite's database file format.
Under Windows, is saved in C:\Documents and Settings\user name\local Settings\Application Data\google\chrome\user Data\default\ The Local Storage path (where user name refers to the current username);
Under Mac, is saved in/users/user name/library/application support/google/chrome/default/local storage path (where user name refers to the current username) Path under the
Although the suffix is. localstorege But in fact is SQLite database file, can be opened with SQLite, and see the data. (can be opened using Firefox's SQLite Manager add-On)
Install the component step and install Firebug similar, select the Menu tool--Accessories component, open the Attachment Component Settings page, search "SQLite Manager" keyword, install "SQLite Manager" plugin and restart Firefox, you can see in the tool " SQLite Manager Add-ons,
HTML5 how the data stored using the local storage is saved locally