Local Storage
- When it comes to storing data we need storage space on the client that persists beyond a page refresh hand isn’t transmitted to the server Local Storage.
- Cookies send data to remote servers, third party.
- HTML5 is the best ,so far, when it comes to Local Storage
- HTML5 Storage: ”Web Storage” or “Local Storage” or “DOM Storage.” is a specification that was a part of the HTML5 specification proper.
what is HTML5 Storage?
a way for web pages to store named key/value pairs locally, within the client web browser. Like cookies, this data persists even after you navigate away from the web site, close your browser tab, exit your browser, or what have you. Unlike cookies, this data is never transmitted to the remote web server (unless you go out of your way to send it manually). Unlike all previous attempts at providing persistent local storage, it is implemented natively in web browsers, so it is available even when third-party browser plugins are not.
Which browsers supports HTML5 Storage?
every latest version of all browsers (Internet Explorer, IE, FIRE FOX, SAFARI, CHROME OPERA, IPHONE, ANDROID )
check for HTML5 Suport
- through code or using Modernizr
Web SQL
- It is specification for accessing and pulling data.
- supported by the following browsers: (Internet Explorer, IE, FIRE FOX, SAFARI, CHROME OPERA, IPHONE, ANDROID )