Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Persistent storage in browser

Currently we are using localStorage as persistent storage in our application. But we noticed that it is prone to data loss. Here is some links which supports this:

HTML5 Local Storage Not Persistent

localStorage data persistence

http://www.sencha.com/forum/showthread.php?132952-localstorage-doesn-t-save-all-data

So now I'm searching for a new solution. It will be good if this solution is supported by chrome/safari at iOS/Android. Could someone suggest something?

like image 327
Marat Faskhiev Avatar asked Feb 23 '26 12:02

Marat Faskhiev


1 Answers

  1. if its a website then, there is no means of persistent storage on browser. localstorage, database, cookies, everything is erased if user don't require them. So the only option would be to store the data on the server.

    OR

  2. if it is a mobile app (phonegap), then you can use SQL Lite.

like image 138
Naeem Shaikh Avatar answered Feb 26 '26 02:02

Naeem Shaikh