Welcome Guest, Not a member yet? Register   Sign In
Session in CI 4 is not working accross the controller
#6

(08-16-2020, 03:17 AM)InsiteFX Wrote: Here you go, just remove the helpers and put your own in.

You will always have access to $this->session as long as your controllers extend the BaseController.

This question is old, but if you want access to the session in the constructor, then it is not working. The initController function is called after the constructor is called.
Reply


Messages In This Thread
RE: Session in CI 4 is not working accross the controller - by groovebird - 07-15-2022, 03:27 AM



Theme © iAndrew 2016 - Forum software by © MyBB