I am currently using jquery.cookie to get/create cookies on a website; however, I am having trouble getting the value of a secure cookie.
The plugin creates the secure cookie just fine using the following code:
$.cookie('myCookie', 'myValue', { expires: 365, secure: true });
I am then using the following code to retrieve the value:
var myCookie = $.cookie('myCookie');
Unfortunately this does not work and the value null is always returned. Can anyone see what I may be doing wrong?
alert(document.cookie)output?