Hello to all, welcome to therichpost.com. In this post, I will tell you, How to use sessions and other libraries in codeigniter? Codeigniter is one of the top php mvc framework and growing very faster.
Here we will use sessions and other libraries in Codeigniter controller file:
Controller File: public function __construct() { parent::__construct(); $this->load->library('session');//session library $this->load->model('Model_Name');//model library $this->load->library('cart');//cart library }
There are so many things in codeigniter and I will let you know all. If you have any query then please comment.
Recent Comments