Welcome Guest, Not a member yet? Register   Sign In
Login System, help?
#6

[eluser]Declan[/eluser]
I changed the validate_login() function to look like this:
Code:
function validate_login()
    {
        die('here');
        $this->load->model('membership_model');
        $query = $this->membership_model->validate();    
        
        if ($query)
        {
            $data['username']         = $this->input->post('username');
            $data['is_logged_in']     = true;            
            $this->session->set_userdata($data);
            
            redirect('navigate/online');
        }
        else
        {
            $this->index();
        }
        
        
    }

But still get a 404, I'm boggled.


Messages In This Thread
Login System, help? - by El Forum - 01-22-2010, 04:50 PM
Login System, help? - by El Forum - 01-22-2010, 05:02 PM
Login System, help? - by El Forum - 01-22-2010, 05:07 PM
Login System, help? - by El Forum - 01-22-2010, 08:05 PM
Login System, help? - by El Forum - 01-23-2010, 02:38 AM
Login System, help? - by El Forum - 01-23-2010, 11:00 AM
Login System, help? - by El Forum - 01-23-2010, 07:40 PM
Login System, help? - by El Forum - 01-23-2010, 09:34 PM
Login System, help? - by El Forum - 01-23-2010, 09:40 PM



Theme © iAndrew 2016 - Forum software by © MyBB