Today I try to test my website which build with codeigniter. I try to check that using Wireshark (for network administrator). But in traffic, I still see the username and password login. So maybe any ideas to solve this problem. maybe someone else have this problem too.
Here is my controller
public function val()
{
$this->form();
if($this->form_validation->run()==FALSE)
{
$this->load->view('form_login_val');
}else
{
$username = $this->input->post('username');
$password = $this->input->post('password');
$cek = $this->m_login->takevalidator($username, $password );
if($cek <> 0)
{
$this->session->set_userdata('validator_status', TRUE);
redirect('home/validate');
}
else
{
$this->session->set_flashdata('gagal_login', "Username atau password yang anda masukkan salah.");
redirect('reff/val');
}
}
}
Thanks