How use controller property after requests |
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. |
Messages In This Thread |
How use controller property after requests - by danielsonsilva - 05-04-2020, 06:09 PM
RE: How use controller property after requests - by danielsonsilva - 05-05-2020, 07:18 AM
|