title: php session cookie not gone after closing browser
body: <p>Book said, persistent cookie stay on client machine till it expires.
  session cookie will be gone after browser closed.</p>
  
  <p>i tried it, like:</p>
  
  <pre><code>setcookie("name", "value");  // before any output
  </code></pre>
  
  <p>but after closing browser and restart, it is still there 
  (from <code>print_r($_COOKIE)</code>).</p>
  
  <p>i tried couple of different browsers like safari, chrome, firefox,
  it is all like that. only eclipse is different:)</p>
  
  <p>so, are all current browsers not following that "rule" ?
  or there is some default time-out for a session cookie i am 
  not aware of?</p>
  
  <p>thanks.</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>I checked in firebug it said:</p>
  
  <p>Name      Value      Domain        Expires</p>
  
  <p>name      value      localhost     <strong>session</strong></p>