title: jQuery cookie vs. cookies.set && not setting expires / only session
body: <p>I have a simple jQuery function creating a cookie (and yes I am including the plugin), I can get the script to create a cookie using:</p>
  
  <pre><code>$.cookies.set('LastArticle',  $(this).attr("id"), { expires: 1 } );
  </code></pre>
  
  <p>But the created cookie (in multiple browsers) <strong>is only a session cookie with no expire date.</strong></p>
  
  <p>I tried just using the more simple:</p>
  
  <pre><code>$.cookie('TEST_COOKIE2', 2, {expires: 30});
  </code></pre>
  
  <p>Test page: <a href="http://www.armorama.com/test2.php" rel="nofollow">http://www.armorama.com/test2.php</a></p>
  
  <p>and that produces NO COOKIE at all. What is wrong?</p>