![]() |
PHP Code: public function logout() Goal: when the user logs out, the application displays the message "logout successful." Problem: How can the flash message be displayed while the session has already been destroyed?
Do not destroy the session. If you destroy it, you cannot use any feature of Session.
See https://github.com/codeigniter4/shield/b...#L817-L847
|
Welcome Guest, Not a member yet? Register Sign In |