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
Session lost after redirect in Codeigniter
I found the problem too.
You still met the problem. Please notice the session’s direction of the codeigniter. When your browser visited your website and refresh a few time, the codeigniter generated more session files under the session direction of the codeigniter.
You remand load library session on your controller file.
Please refer the following config.php setting.
When you change the about setting, please remove or clear all offline data of your browser and all sessions file of the codeigniter. Then you try to do again. It is maybe repair the problem.
If you can't still repair the problem. You can download the codeigniter package from codeigniter.org again and then extract the package for testing environment.