title: How to set persistent cookie
body: <p>I am using php code and trying to set cookies as shown below :</p>
  
  <pre><code> setcookie("_GuestID",$userID,time() + (20 * 365 * 24 * 60 * 60));
  </code></pre>
  
  <p>I found that cookies are expire just after close of browser. I want to make it persistent for long time.How I can do. Please give your suggestions.</p>
  
  <p>Thanks</p>