09-26-2019, 12:16 AM
Can anybody guide me how to set and retrieve session and flashdata?
I initialized session base controller and when I try to set and get on User controller, I am getting error saying "ErrorExceptoin": undefined variable $session when using this snippet below
I initialized session base controller and when I try to set and get on User controller, I am getting error saying "ErrorExceptoin": undefined variable $session when using this snippet below
PHP Code:
$session->set('user', 'someone');