About Local Storage


#1

Hi buddy,
I want to store the app data(form data) to the local Storage… My confusion is that Where should be the app data saved in the local storage…??? In inbuild memory or in the external memory…??? Because I am very new to this topic…

Thanks Buddy…


#2

If you’re talking about the HTML5 LocalStorage API, as far as I know there are no possibilities to choose the location of the “phisical” data…


#3

Here is a topic about this http://stackoverflow.com/questions/8634058/where-the-sessionstorage-and-localstorage-stored with some links for Firefox and Chrome.


#4

Thanks for your information buddy


#5

Thanks buddy… But i am asking for application which is going to be installed in phone…


#6

So you don’t speak of the html5 Local Storage. Check this http://ngcordova.com/docs/#File


#7

@dr9493 about the HTML5 localStorage, I have no idea about this, but since Hybrid apps use a webview, localStorage should be stored somewhere in the context of the app, when the app is uninstalled the data is lost.


#8

Thanks for your information buddy…


#10

Thanks for your link buddy…


#11

or when the application cache is cleared, that data is lost too: including login details.


#12

You can use sqlite plugin for storing data in device database.