I've started developing mobile website using jquery mobile. Since I have to carry accross multiple pages some json data I wonder what would be a better approach, storing that json data inside cookie or using html5 local storage. Both approaches would use jquery.
Scenario would be following:
- Home controller returns some initial data as json
- User selects some from that initial list
- User selection should be stored immediatly on local storage
- When navigate further on different page those data should be available (retrieving from local storage)