dimanche 15 mars 2015

LocalStorage Or SQLite?

I am generating user tokens for my Ionic (Cordova/AngularJS) app and need to store them so if the user closes the application and tries to open and access it again, they are relogged in. Currently I am using sessionStorage, which is not persistent. What do you guys think will be better to use in terms of security, response time etc - localStorage or SQLite db?


Thanks in advance.


Aucun commentaire:

Enregistrer un commentaire