Session data lost after route redirect |
12-20-2024, 11:04 AM
(This post was last modified: 12-20-2024, 11:09 AM by captain-sensible. Edit Reason: forgot something )
the only session stuff i care or bother with is when admin gui is accessed and admin logs in, or somebody attempts to log in . I have a few methods in a class and several views. I just put this line at the top of every method in the class
Code: $session = \Config\Services::session(); eg Code: public function displaySession() Code: public function logout() |
Messages In This Thread |
Session data lost after route redirect - by lelolenda - 12-20-2024, 08:34 AM
RE: Session data lost after route redirect - by captain-sensible - 12-20-2024, 11:04 AM
RE: Session data lost after route redirect - by lelolenda - 12-20-2024, 01:40 PM
|