Organizational Research By

Surprising Reserch Topic

Experts Most Trusted Topic


how to retrieve cookie value in codeigniter


how to retrieve cookie value in codeigniter  using -'php,codeigniter,cookies,setcookie'

I can print the session values in codeigniter by print_r($this->session->userdata);
How can i print the cookies in codeigniter? I have just set a cookie:

$cookie = array(
          'name'   => 'test_cookie',
          'value'  => 'test',
          'domain' => '/',
          'secure' => TRUE
          );

$this->input->set_cookie($cookie);


How can i print the above cookie?

Thanks.
    

asked Sep 15, 2015 by AracelisKest
0 votes
5 views



Related Hot Questions



Government Jobs Opening


...