title: CodeIgniter session class not working in Chrome
body: <p>I have created a login system in codeigniter project, which is working fine in Firefox but doesn't work in Chrome, data fetch and set for session but when this code redirect control to admin/dashboard, there we check session data again. If session data not exist then the code will redirect user to login again............ My code is below, and i don't know what is wrong with this session/cookies in codeigniter.?  </p>
  
  <pre><code>        $data = array(
               'user_id' =&gt; $user-&gt;id,
               'name' =&gt; $user-&gt;name,
               'user_type' =&gt; $user-&gt;type,
               'username' =&gt; $user-&gt;username,
               'is_logged_in' =&gt; true
          );
  
          $this-&gt;session-&gt;set_userdata($data);
          //echo "user ".$this-&gt;session-&gt;userdata("username"); exit;
          redirect("admin/dashboard", "location"); 
  </code></pre>
  
  <p>I have search alot for but no one work in this situation, like a change "<strong>cookie_domain</strong>" in config file but nothing happened....</p>