I'm using jQuery Cookie and was wondering what happens when a cookie expires. Does it delete itself or do I have to delete it myself?
I'm setting my cookie like so
if ($.cookie('myCookie') == undefined) {
$.cookie('myCookie', 'false', { expires: 1 });
}
If it does delete itself then I just want to check if it exists or not so I can make another one.
If I do need to delete it, how can I check if it's expired?