title: How to set multiple key-value pairs to one cookie?
body: <p>I am using this line to set multiple key-value pair at once to one cookie</p>
  
  <pre><code>document.cookie="username=John Smith; test1=ew; expires=Thu, 18 Dec 2013 12:00:00 GMT; path=/";
  </code></pre>
  
  <p>it seemed <code>test1</code> is not set to the cookie successfully, because when I write <code>document.cookie</code> in the console, it didn't print this key-value pair. Anyone know how to <strong>set multiple key-value pair</strong> to <strong>ONE cookie</strong>?</p>