Welcome Guest, Not a member yet? Register   Sign In
destroy session then set flash data
#5

[eluser]Warz[/eluser]
Bump...!

I also got this issue... This won't work, cannot display flash data on pages/home. It has to do with sess_destroy(). Is there any good solution to this issue?

Code:
function logout()
    {
        $this->mx_auth->is_logged_in();
  
        $this->session->sess_destroy();  
        $this->message_model->success('You have been successfully logged out.'); // Sets Flash data
        redirect('pages/home');
    }


Messages In This Thread
destroy session then set flash data - by El Forum - 12-12-2008, 07:59 AM
destroy session then set flash data - by El Forum - 12-13-2008, 02:14 PM
destroy session then set flash data - by El Forum - 12-14-2008, 05:51 PM
destroy session then set flash data - by El Forum - 12-20-2008, 06:06 PM
destroy session then set flash data - by El Forum - 06-03-2010, 07:44 AM
destroy session then set flash data - by El Forum - 06-03-2010, 08:16 AM
destroy session then set flash data - by El Forum - 06-03-2010, 01:20 PM



Theme © iAndrew 2016 - Forum software by © MyBB