CI 4 simple session auth system problem |
Remove the following line from BaseController. It is not needed because the session library does this for you.
PHP Code: $this->session->start(); That may be the reason $this->session is coming up null. Try this change for loggedIn() PHP Code: protected function loggedIn() Then you can remove public function notLoggedIn() |
Messages In This Thread |
CI 4 simple session auth system problem - by adelbak - 10-30-2019, 09:05 PM
RE: CI 4 simple session auth system problem - by dave friend - 10-31-2019, 12:33 PM
|