I have an application built with Codeigniter 3 HMVC
.The application was working fine on PHP 5.6
version, But after upgrading my PHP version to
I found that the issue is with some earlier version of Codeigniter 3 and this is a bug already reported in their website.The underlying session bug has been fixed on:
So in the latest version of Codeigniter 3 this issue doesn't happen.
If you are already in a faulty version codeigniter consider replacing system folder with latest version's one. Version 3.1.6 at the time writing this.