If you want to create a CodeIgniter login module with sessions than you can go through this tutorial post that will help you to make your simple login and registration form along Firstly, set base URL in config.php file of CodeIgniter as given below:- in Your code load session library = does not work in Codeigniter 3.0.3..