forked from canhnm/jsdis
-
Notifications
You must be signed in to change notification settings - Fork 0
javascript storage
opensourcevn/jsdis
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Home page: http://opensource.com.vn Facebook: http://www.facebook.com/canhnm Twitter: https://twitter.com/#!/canhnm Contact : [email protected] Store value in localStorage of browser in the way like redis. See index.html for demo code! Have fun!!! --=========================================================================-- - The reason to use localStorage : + sessionStorage sets fields on the window. When the window is closed, the session fields are lost, even if the site remains open in another window. + localStorage sets fields on the domain. Even when you close the browser, reopen it, and go back to the site, it remembers all fields in localStorage. So, I need a persistence data storage. - The size of localStorage is limited by each browser, if you want to control your own space let see Manifest! --=========================================================================--
About
javascript storage
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published