Organizational Research By

Surprising Reserch 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
8 views



Related Hot Questions

5 Answers

0 votes
NULL
answered Sep 15, 2015 by EliMcLellan
0 votes
NULL
answered Sep 15, 2015 by KenGlenelgvr
0 votes
NULL
answered Sep 15, 2015 by CHDOrv
0 votes
NULL
answered Sep 15, 2015 by EHPAdaqxdnvi
0 votes
NULL
answered Sep 15, 2015 by DenRwj

...