Codeigniter 3.1.11 - Session regenerate and data loss PHP 7.3.11 |
I guess I will answer this myself then.
I got this partially working by applying a solution from another thread where the REGEX was incorrect when checking the cookie. However this only partially works or works sometimes. This logic is not always executed so I think there is another place in the standard CI session code which also needs to be changed. \system\libraries\session\Session.php //Line 136 changed by me on 12.15.2019 -mb //OR ! preg_match('#\A'.$this->_sid_regexp.'\z#', $_COOKIE[$this->_config['cookie_name']]) OR ! preg_match('/^[0-9a-f]/', $_COOKIE[$this->_config['cookie_name']]) |
Messages In This Thread |
Codeigniter 3.1.11 - Session regenerate and data loss PHP 7.3.11 - by reesethebeast - 12-12-2019, 07:28 AM
RE: Codeigniter 3.1.11 - Session regenerate and data loss PHP 7.3.11 - by reesethebeast - 12-16-2019, 12:06 PM
RE: Codeigniter 3.1.11 - Session regenerate and data loss PHP 7.3.11 - by InsiteFX - 12-16-2019, 01:17 PM
RE: Codeigniter 3.1.11 - Session regenerate and data loss PHP 7.3.11 - by reesethebeast - 12-16-2019, 02:14 PM
RE: Codeigniter 3.1.11 - Session regenerate and data loss PHP 7.3.11 - by steveolateru - 01-28-2020, 01:48 PM
RE: Codeigniter 3.1.11 - Session regenerate and data loss PHP 7.3.11 - by garabudas - 06-19-2020, 02:58 AM
RE: Codeigniter 3.1.11 - Session regenerate and data loss PHP 7.3.11 - by marcsinfo - 07-26-2021, 06:25 AM
|