Did you use WebStorage
? If not, you should use WebStorage. If so, did you use local or session storage? If session, you should use local storage.
If you use CocoonJS to publish to iPhone, WebStorage works there too. It'll also work if you use the native browser, but I imagine performance would be terrible so you should use CocoonJS anyway.