I am currently developing a PhoneGap application and am using sessionStorage rather than localStorage because we are facing some problems with localStorage.
Are there any downsides to using sessionStorage over localStorage?
I am currently developing a PhoneGap application and am using sessionStorage rather than localStorage because we are facing some problems with localStorage.
Are there any downsides to using sessionStorage over localStorage?
sessionStorage gets erased every time you close the application. Other than that there is no difference.
Here is the usage example: