To retrieve a specific session value in CodeIgniter, the syntax used is $this->session->userdata('______').

  • attribute
  • item
  • key
  • value
The correct syntax is $this->session->userdata('item'), where 'item' is the key or name of the session value you want to retrieve.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *