Session Session Php Error Codeigniter 3

[Solved] Session Session Php Error Codeigniter 3 | Php Frameworks Codeigniter - Code Explorer | yomemimo.com
Question : Session/Session.php error codeigniter 3

Answered by : topandhi-omega

Please follow the below steps:
1) Go to system/libraries/Session/Session.php
2) Comment session_start() by adding //.
3) Go down to line around 312-315 where it says Security is king, and comment out the following lines:
ini_set('session.use_trans_sid', 0);
ini_set('session.use_strict_mode', 1);
ini_set('session.use_cookies', 1);
ini_set('session.use_only_cookies', 1);
ini_set('session.hash_function', 1);
ini_set('session.hash_bits_per_character', 4);
4) Then go to your main index.php ( the root index.php )
5) Add session_start() at the top once.
It works for me.

Source : https://stackoverflow.com/questions/45756370/codeigniter-session-is-not-working-on-php-7 | Last Update : Thu, 16 Jun 22

Answers related to session session php error codeigniter 3

Code Explorer Popular Question For Php Frameworks Codeigniter