Welcome Guest, Not a member yet? Register   Sign In
Can session autoload?
#4

The BaseController is intended to be the mechanism for providing the equivalent of autoloading from CI3 ... https://codeigniter4.github.io/userguide...oller.html

Your first post above is trying to create a Sessions namespace, which is not provided for in the framework.

CI4's app/Config/Autoload is meant to tell the PHP class loader where to find source code, and not to preload components for a request.
Reply


Messages In This Thread
Can session autoload? - by Andryshok - 05-16-2019, 03:26 AM
RE: Can session autoload? - by rmcdahal - 05-16-2019, 04:10 AM
RE: Can session autoload? - by Andryshok - 05-16-2019, 04:30 AM
RE: Can session autoload? - by ciadmin - 05-16-2019, 06:40 AM



Theme © iAndrew 2016 - Forum software by © MyBB