I\'m working on a mobile web-app using sencha touch, HTML5 and phonegap as a wrapper.
I\'m using PHP-Authentication (Cookie) and ajax-requests. Everything works fin
Best ways to store get and delete cookie its working fine in my app which is on live
To store value in cookie
window.localStorage.setItem("key", "value");
To Get value in cookie
var value = window.localStorage.getItem("key");
To Delete cookie value
window.localStorage.removeItem("key");
window.localStorage.clear();