Jquery.cookie randomly failing

I am using the jquery.cookie plugin (https://github.com/carhartl/jquery-cookie) on a project and it seems to work pretty good, except that sometimes it doesn’t bother to actually set a cookie value. After extensive testing there seems to be no real rhyme or reason to when it will decide to just not work. Has anyone else had this problem? More importantly has anyone found a solution?

Would you care to show the code that brings you to that conclusion?

Well, the project isn’t live yet but it’s not actually “code” that shows the problem, it’s the “Cookies” tab in Firebug that shows the values for cookies that have been set. And sometimes on this project you click on something that normally sets a cookie but no value actually shows up.

Maybe it just doesn’t always update. When testing cookies, to be certain of what’s happening you can run the following code in the address bar:


For convenience it should be saved as bookmark.