title: Kohana 3.2 regenerating session id on every request
body: <p>i hope this hasn't already been answered, I've looked through for awhile and haven't really seen an answer.</p>
  
  <p>I am using Kohana 3.2 sessions with database driver. The problem is that every time the page is loaded or refreshed, it is creating a new session id.</p>
  
  <p>I've set the Session::$default = 'database' in my bootstrap. My session config looks like this:</p>
  
  <pre><code>return array(
      'database' =&gt; array(
          /**
           * Database settings for session storage.
           *
           * string   group  configuation group name
           * string   table  session table name
           * integer  gc     number of requests before gc is invoked
           * columns  array  custom column names
           */
          'name'     =&gt; 'trucero_session',
          'lifetime' =&gt; 1200,
          'group'    =&gt; 'default',
          'table'    =&gt; 'sessions',
          'gc'       =&gt; 500,
          'columns'  =&gt; array(
              /**
               * session_id:  session identifier
               * last_active: timestamp of the last activity
               * contents:    serialized session data
               */
              'session_id'  =&gt; 'session_id',
              'last_active' =&gt; 'last_active',
              'contents'    =&gt; 'contents'
          ),
      ),
  );
  </code></pre>
  
  <p>Thank you in advance.</p>