title: How to retrieve cookie value in CodeIgniter?
body: <p>I can print the session values in codeigniter by <code>print_r($this-&gt;session-&gt;userdata);</code>
  How can I print the cookies in codeigniter? I have just set a cookie:</p>
  
  <pre><code>$cookie = array(
            'name'   =&gt; 'test_cookie',
            'value'  =&gt; 'test',
            'domain' =&gt; '/',
            'secure' =&gt; TRUE
            );
  
  $this-&gt;input-&gt;set_cookie($cookie); 
  </code></pre>
  
  <p>How can i print the above cookie?</p>