I\'m using codeigniter as a framework.
Firstly, I use localhost but when I change to my IP address the login function doesn\'t work anymore. I found that th
localhost
I had the same issue, in my case that was insufficient permissions for sessions folder. Please check php.ini for session.save_path and config.php for $config['sess_save_path'] and make sure the folder has 777 or 757 set as permissions.
session.save_path
$config['sess_save_path']