title: Kohana 3.2 Auth ORM: I can't seem to stay logged in with the "remember me" option set
body: <p>I'm having a problem with Auth / ORM and auto_login. I have the lifetime set to two weeks, but I get logged out after about an hour, regardless of whether the browser is closed or not. In fact, it's time-based, since the session does stay, even over the closing of the browser.</p>
  
  <p>I've got things set up like this (and any help would be appreciated!!!):</p>
  
  <p>bootstrap.php</p>
  
  <pre><code>Cookie::$salt = 'some random string here';
  </code></pre>
  
  <p>config/auth.php</p>
  
  <pre><code>&lt;?php defined('SYSPATH') or die('No direct access allowed.');
  
  return array(
  
  'driver'       =&gt; 'ORM',
  'hash_method'  =&gt; 'sha256',
  'hash_key'     =&gt; '&lt;another random string&gt;',
  'lifetime'     =&gt; 1209600, // TWO WEEKS, NO?
  'session_type' =&gt; Session::$default,
  'session_key'  =&gt; 'auth_user',
  
  // Username/password combinations for the Auth File driver
  'users' =&gt; array(
  ),
  
  );
  </code></pre>
  
  <p>classes/controller/auth.php</p>
  
  <pre><code>public function action_login() { // Check to make sure the user isn't already logged in... if (Auth::instance()-&gt;logged_in() || Auth::instance()-&gt;auto_login()) {
  $this-&gt;request-&gt;redirect($this-&gt;request-&gt;referrer()); }
  
  $referrer = base64_encode($this-&gt;request-&gt;referrer());
  
  $post = $this-&gt;request-&gt;post();
  if (!empty($post))
  {
      $remember = isset($post['remember']); // &lt;-- This value has been verified
      Auth::instance()-&gt;login(Arr::get($post, 'email'), Arr::get($post, 'password'), $remember);
  
      if (Auth::instance()-&gt;logged_in())
      {
          $this-&gt;request-&gt;redirect(base64_decode(Arr::get($post, 'referrer')));
      }
      else
      {
          $this-&gt;view-&gt;set('error', true);
      }
  
      if (isset($post['referrer']))
      {
          $referrer = Arr::get($post, 'referrer');
      }
  }
  
  $this-&gt;view = Template::factory('auth/login');
  $this-&gt;view-&gt;set('referrer', $referrer);
  
  } 
  </code></pre>
  
  <p>classes/controller/website.php</p>
  
  <pre><code>class Controller_Website extends Controller { 
      public function before()
      {
          $parent_before = parent::before();
  
          if (Auth::instance()-&gt;logged_in() || Auth::instance()-&gt;auto_login()) //&lt;-- isn't this where the magic is supposed to be happening?!?!
          {
              $this-&gt;user = Auth::instance()-&gt;get_user();
          }
          elseif ($this-&gt;require_auth &amp;&amp; !in_array($this-&gt;request-&gt;action(), $this-&gt;auth_allow_actions))
          {
              $this-&gt;request-&gt;redirect('/auth/login');
          }
  
          return $parent_before;
      }
  }
  </code></pre>