Welcome Guest, Not a member yet? Register   Sign In
set_flashdata stays open
#11

@pedreitor,

Have you tried following the code to see why it is doing that (developer tools)?
Reply
#12

Wouldn't an if condition help or give  a clue?

PHP Code:
if($this->session->unset_userdata('logged_id'){
   
$this->session->set_flashdata('usuario_logout'etc..)
   
redirect...
}
            
Reply




Theme © iAndrew 2016 - Forum software by © MyBB