Welcome Guest, Not a member yet? Register   Sign In
How use controller property after requests
#2

(This post was last modified: 05-05-2020, 07:19 AM by danielsonsilva.)

I found the solution using sessions.
I can add $this->session = \Config\Services::session(); into BaseController
Then, in the end of every method on my controller, I can save the state of $a into the session and in the begin I can get that state and assign into the controller property.
Reply


Messages In This Thread
RE: How use controller property after requests - by danielsonsilva - 05-05-2020, 07:18 AM



Theme © iAndrew 2016 - Forum software by © MyBB