title: Session should never expire by itself
body: <p>I'm using login function in my site with session. 
  This session of mine gets expired after a few minutes irrespective of whether the user has logged out or not.
  Now what I want is that the session should only get expired when a user logs out. If a user doesn't log out his account and then comes back after 2-3 days, even then he should appear logged in.</p>
  
  <p>I have found some examples where they have increased the time for a session to expire but I want that it should only expire on the log out event by the user irrespective of the time he took to log out.</p>
  
  <p>How can I do that?</p>
  
  <p>In particular, is this the right way to do so?</p>
  
  <pre><code>session_cache_expire(0);
  session_start();
  </code></pre>