![]() |
Hello,
CI project was on v4.3, recently upgraded to v4.5.1. Now Session settings are in new config file Session.php, it does not appear to be possible to turn off CI Session handling. In my BaseController, a session is created (outside of CI4), and the error below appears, because my session has indeed already been started. There appears to be nothing in CI docs about disabling CI Session handling. Is it possible to disable now? TIA Mike PHP: 8.2.19 — CodeIgniter: 4.5.1 -- Environment: development Code: ErrorException Code: 67
After reading the userguide (excerpt below), I believe this is a bug-:
Quote:This was due to the specifics of how sessions worked, but is now no longer necessary with our new implementation. However, it may happen that your application relied on these values, so here are alternative methods of accessing them: Before v4.3.0, the session configuration was held in Config/App.php. Now Config/Session.php holds the session configuration. There is nothing in Config/Session.php to indicate how to turn off CI session handling. Looking at the CI code appears to confirm this. Marking this as solved, as a post has been made in Issues https://forum.codeigniter.com/showthread...#pid419294 |
Welcome Guest, Not a member yet? Register Sign In |