[Solved] Cookie get deleted/set to null after redirect
If everyone else meets same problems, this is simply because the cookie’s path problem. When you set the cookie, do this : $.cookie(‘the_cookie’, ‘the_value’, { expires: 7, path: “https://stackoverflow.com/” }); So the cookie can be cross-pages. :] solved Cookie get deleted/set to null after redirect