Blog

October 2015 articles

Storing and retrieving objects with LocalStorage

Posted: Wednesday 21st October, 2015 - 10:20pm
Author: James Griffiths

The HTML5 Web Storage API provides developers with greater latitude for front-end storage compared to that of cookies, particularly with the localStorage property, making this an excellent choice for managing data within web and mobile applications.

Aside from browser support one issue with using this API is that data saved within localStorage can be of only 2 types: strings or integers.

So where does this leave us with other data types such as Objects and Arrays?

Read more...
Top