![]() |
There is no setting to disable CI4 Session from the beginning.
And now some CI4 features depend on CI4 Session. If you don't use CI4 Session, these features do not work or cause an error like yours. The following code in the framework starts CI4 Session. service('session') session() I don't know your app works fine with CI4.3 or 4.5, but if you customize the following, the error would be gone. https://github.com/codeigniter4/CodeIgni....php#L1062 > I raised this because the manual seems to suggest that use of CI/Session is optional. I'm not sure it is optional or not. If we add an option to disable CI4 Session, some features that depend on CI4 Session will not work. |
Messages In This Thread |
Cannot disable CI Session handling in v4.5.1 - by codeus - 06-04-2024, 09:30 AM
RE: Cannot disable CI Session handling in v4.5.1 - by kenjis - 06-04-2024, 05:41 PM
RE: Cannot disable CI Session handling in v4.5.1 - by codeus - 06-04-2024, 11:37 PM
RE: Cannot disable CI Session handling in v4.5.1 - by kenjis - 06-05-2024, 12:44 AM
RE: Cannot disable CI Session handling in v4.5.1 - by ozornick - 06-05-2024, 01:07 AM
RE: Cannot disable CI Session handling in v4.5.1 - by codeus - 06-05-2024, 02:43 PM
RE: Cannot disable CI Session handling in v4.5.1 - by Javayim - 02-20-2025, 08:41 AM
|