title: Kohana 3.2 : Error reading session data
body: <p>I'm working on a module (a simple cms) with Kohana 3.2 and i'm getting this exception "Error reading session data."</p>
  
  <p>I'm using native session and the funny thing is if i set a "default" group database connection the error isn't showed... (i'm using a custom connection group and i've set this database connection group to the user,role and user_token models).</p>
  
  <p>here's my config file</p>
  
  <p>auth.php</p>
  
  <pre><code>return array(
  
      'driver'       =&gt; 'orm',
      'hash_method'  =&gt; 'sha256',
      'hash_key'     =&gt; 'just a test 1',
      'lifetime'     =&gt; 1209600,
      'session_type' =&gt; 'native',
      'session_key'  =&gt; 'just a test 2',
  
      // Username/password combinations for the Auth File driver
  
      'users' =&gt; array(
         // 'luca' =&gt; 'e12afe0d3ead3d36191d86229d27057d96d9f2e063fe6f3e86699aaab5310d42'
          // 'admin' =&gt; 'b3154acf3a344170077d11bdb5fff31532f679a1919e716a02',
      ),
  
  );
  </code></pre>
  
  <p>session.php</p>
  
  <pre><code>return array(
      'native' =&gt; array(
          'name' =&gt; 'session_native',
          'lifetime' =&gt; 43200,
      ),
      'cookie' =&gt; array(
          'name' =&gt; 'session_cookie',
          'encrypted' =&gt; TRUE,
          'lifetime' =&gt; 43200,
      ),
      'database' =&gt; array(
          'name' =&gt; 'session_database',
          'encrypted' =&gt; TRUE,
          'lifetime' =&gt; 43200,
          'group' =&gt; Pencil::db_group(),
          'table' =&gt; 'sessions',
          'columns' =&gt; array(
              'session_id'  =&gt; 'session_id',
              'last_active' =&gt; 'last_active',
              'contents'    =&gt; 'contents'
          ),
          'gc' =&gt; 500,
      ),
  );
  </code></pre>