title: How to store variable in session codeigniter
body: <p>I would like to store the variable in the session currently i am tryin like this but not working.</p>
  
  <p>In Controller</p>
  
  <pre><code>&lt;?php
  session_start(); 
  $_SESSION['myvar']='myvalue';
  ?&gt;
  </code></pre>