The steps of this tutorial is shown in the following link.
Convert HTML template into CodeIgniter project Part-2
You can get the part 1 of this tutorial from the following link.
Convert HTML template into CodeIgniter Project Part-1
You can check the following video for codeigniter session.