Client-side data storing,DOM storage or HTML5 Local Storage?

天涯浪子 提交于 2019-11-29 18:15:06

DOM Storage or Web Storage is the collective name given to the following types of client storage options available in HTML5. It includes:

Local storage is persistent meaning the stored data will still be there when you close and re-open the browser window.

Session storage is temporary and is available as long as the page session lasts.

There is really no comparison between the two since technically they both are the same.

Try to have a read here http://blog.sebarmeli.com/2010/11/22/understanding-webstorage/, you can easily understand the two objects, their methods, event attributes and their possible use.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!