This recipe describes the usage of HTML5 provided local storage. This persists the data across sessions.
Make sure that you have set up your development environment by following the recipes outlined in Chapter 1.
The preceding code uses the local storage proxy to store the data on the browser. Similar to SessionStorageProxy
, this also requires a unique ID against which the data is stored and used to retrieve.