Android Jquery Mobile Cookies Not Stored
I am using JQuery mobile library with jquery.cookie.js on Android. The header of index.html looks like this:
Solution 1:
The issue may be related to the fact that you are not setting a path:
$.cookie(COOKIE_NAME, tmp, { path: '/' });
Without the path, I believe the browser defaults to the current path (whatever page you are on), and as soon as you go to another page, the cookie is unaccessable.
Post a Comment for "Android Jquery Mobile Cookies Not Stored"