i am developing a windows 8.1 html5/js app, i am trying to store data locally using localStorage.setItem("highscore", score); but it's not working, is there any better alternative to this or am i doing anything wrong?, once the data is stored
it should not get deleted or expired unless the user uninstalls his app, any suggestions to achieve this?
Take a look at the local settings documentation I linked.
If you need more help you'll need to provide clearer information about your goal, what you're trying to do to achieve it, and exactly how what you are doing is failing.
i am using html5 local storge in my app to store high score of player in the game, i am initializing the highscore to zero when the app starts but when ever the user score is greater than previous highscore value then the user highscore is updated with
his present score, everything is working now but each time when app loads the highscore is set to zero, how can i make it to initialize only once i.e when the user installs my app & opens it, i don't want to initialize it each time when user opens the
app.