title: have a codigniter session alternative way which behave as like session and how to implement?
body: <p>Currently i am facing problem in codeigniter session size. some data doesn't save in session variable  but i need this. i don't find any solution over googled. Here's my some session code.
  first i create session for login: </p>
  
  <pre><code>$this-&gt;session-&gt;set_userdata('member_loged', TRUE);
  $this-&gt;session-&gt;set_userdata('uid', $uloged-&gt;id);
  $this-&gt;session-&gt;set_userdata('user_name', $uloged-&gt;user_name);
  $this-&gt;session-&gt;set_userdata('email', $uloged-&gt;email);
  </code></pre>
  
  <p>second session code for exam : </p>
  
  <pre><code>$onlineexam = array();
  
  $ukey = time();
  $uid = $this-&gt;session-&gt;userdata('uid');
  $onlineexam['uid'] = $uid;
  $onlineexam['examid'] = $eid;
  $onlineexam['ukey'] = $ukey;
  $onlineexam['onlineexamdate'] = date('Y-m-d H:i:s');
  
  foreach($allque as $que):
  
  $quid = $que['id'];
  $qa['queid'] = $quid;  
  $onlineexam['allq'][] = $qa;
  $this-&gt;session-&gt;set_userdata('onlineexam', $onlineexam);
  
  endforeach;
  </code></pre>
  
  <p>Third sesion add in online exam after click by ajax: </p>
  
  <pre><code>$onlineexam = $this-&gt;session-&gt;userdata('onlineexam');
  $ans['queid'] = $queid; 
  $ans['ansid'] = $ansid;
  $ans['flag'] = $checkans;
  $onlineexam['allanswer'][] = $ans;
  $this-&gt;session-&gt;set_userdata('onlineexam', $onlineexam);
  </code></pre>
  
  <p>in allanswer variable fill with some data and miss maximum data</p>