title: PHP Log user out after closing the page (tab)
body: <p>I'm keeping track of the time that users are logged in. After they close the whole browser they are logged out; but when they only close the tab (there's only one tab), and navigate back to the website within a few minutes they are logged in again.</p>
  
  <p>Someone told me that this behavior can be changed in the server configuration. Does anyone know how?</p>
  
  <p>I'm using PHP 5.2 and Apache. Just a normal webserver. I'm also using the Kohana 3 PHP framework. For logging users in there's being a session set with a cookie, in the cookie there's a session id.</p>
  
  <p>Thanks!</p>