title: PHP PEAR Auth session timeout
body: <p>This issue has been driving me insane. On two separate projects (both of which use PEAR as libraries but are written on completely different custom frameworks) I am using PEAR Auth for authentication which uses the session.</p>
  
  <p>After logging in, users are logged out within an hour or so of being idle. I don't have the exact time, but it's very short.</p>
  
  <p>I have tried the following with no success. All attempts to extend the session to one day, just to nail the point home.</p>
  
  <pre><code>&lt;?php
  // Tried built-in methods to extend the idle time, called after Auth is initialised
  $auth-&gt;setIdle( 86400 );
  
  // Tried increasing the sesion timeout (before auth is called)
  ini_set( 'session.gc_maxlifetime', 86400 );
  
  // Tried increasing the cookie timeout (where the phpsession is held, before auth is called)
  session_set_cookie_params( 86400 );
  
  // Tried all of the above
  ?&gt;
  </code></pre>
  
  <p>Has anyone else had this issue? If so, is it possible to extend the idle time?</p>
  
  <p>I'm just about ready to sod PEAR and write my own cookie based auth class, but I don't really have the time.</p>