title: Codeigniter $this->session->set_userdata() not working properly
body: <p>i am generating a session but when i generate it i am not getting <code>__ci_last_regenerate</code>  after calling <code>$this-&gt;session-&gt;set_userdata('sessionName',$sessionArray)</code> function. when i redirect after generate my session without __ci_last_regenerate the session data is not appearing on next page.i am using CI 3.1.4</p>
  
  <pre><code>$user_basic = array( 
      'user_id' =&gt; $user_id, 
      'email' =&gt; $this-&gt;input-&gt;post('email'), 
      'is_user_login' =&gt; 'true', 
      'language' =&gt; 'eng' 
  ); 
  $this-&gt;session-&gt;set_userdata('user_basic',$user_basic); 
  
  echo'&lt;pre&gt;';print_r($this-&gt;session-&gt;userdata());
  </code></pre>
  
  <p>Thank you </p>