Welcome Guest, Not a member yet? Register   Sign In
Cannot disable CI Session handling in v4.5.1
#4

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.
Reply


Messages In This Thread
RE: Cannot disable CI Session handling in v4.5.1 - by kenjis - 06-05-2024, 12:44 AM



Theme © iAndrew 2016 - Forum software by © MyBB