RE: How to retrieve a particular session value in codeigniter?

My variable is “USERID”

Rudradeep Senior Developer Asked on January 23, 2017 in CODEIGNITER.
Add Comment
1 Answers

Here is the syntax you can try it.

$user_id = $this->session->userdata('user_id');
Team Leader Answered on January 23, 2017.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.