Sunday, 15 July 2012

html5 - Does localStorage in Javascript get wiped off after clearing browser history -



html5 - Does localStorage in Javascript get wiped off after clearing browser history -

i have little question.

does localstorage wiped off 1 time user clears bowser history?

if yes, there way can save url string on mobile device somewhere stays there if user or other application forces browser history cleared.

and can go string(url) whenever need mobile app.

the thing want save url of restful service fetches updates mobile client. want whenever user launches mobile app for first time only should manually key-in url (that provided me) updates , how utilize javascript api save url on mobile device(which user never ever able delete if browser history deleted anyway)so on every subsequent launch user needs not key-in url 1 time again updates , if updates exit mobile app should automatically able saved url , contact service fetch updates.

thanks.

does localstorage wiped off 1 time user clears bowser history?

yes localstorage cleared when browser info removed.

save url string on mobile device somewhere stays there if user or other application forces browser history cleared.

are refering actual mobile app or website in browser on phone? if website within browser reply no.

if referring actual mobile app there several method store data. might want expand question if case.

javascript html5 mobile local-storage

No comments:

Post a Comment