Welcome Guest, Not a member yet? Register   Sign In
Session data removed or overwritten
#3

Good to know. It's still not working when I reference the flash variable just prior to using it:
Code:
//Display flash messages in the view
        $message = $_SESSION['message'];
        $view_content['message'] = $message;

        //Checking for the existence of the user defined data
        if (NULL !== $_SESSION['ud_message']) {
            $view_content['ud_message'] = $this->session->userdata('ud_message');
        }
        else {
            $view_content['ud_message'] = 'no message';
        }
Also the non-flash item (ud_message) is also getting over-written somehow. It makes me wonder if the Ion Auth library over-writes the session.
Reply


Messages In This Thread
Session data removed or overwritten - by Shawn - 12-21-2015, 07:01 PM
RE: userdata removed from session appears to be working - by Shawn - 12-22-2015, 10:32 AM



Theme © iAndrew 2016 - Forum software by © MyBB