Codeigniter

How to use sessions and other libraries in codeigniter?

use sessions and other libraries in codeigniter

Views
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.

Ajay Malhotra
the authorAjay Malhotra
Hello to all. Welcome to therichpost.com. Myself Ajay Malhotra and I am full stack developer. I love coding. I know Wordpress, Core php, Angularjs, Angular 2, Angular 6, Angular 7, laravel, Codeigniter, Shopify, Squarespace, Jquery, Google Map Api, Vuejs, Reactjs, Bigcommerce etc.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Positive SSL