[eluser]kheiron[/eluser]
I have tried to use the most basic and simple approach
below is my authentication code
=================================
function login()
{
$login = $this->User_model->login();
if ($login != null)
{
$id = $login->id;
$name = $login->name;
$surname = $login->surname;
$type = $login->type;
$newdata = array(
'user_id' => $id,
'name' => $name,
'surname' => $surname,
'type' => $type
);
$this->session->set_userdata($newdata);
$this->Log_model->insert_a_log($id,$name." ".$surname." successfully logged in");
if($type == 3 || $type == 4)
{
redirect('admin/home');
}
else{
redirect('department/requests');
}
} else {
$data['message'] = "<p align='center' class='emsg'>Invalid Log in Credentials </p>";
$this->load->view('authenticate/login',$data);
}
}
==============================================
How would I check the session cookie variables. I used f12 to invoke the IE8 developer tools. What I find weird is this only happens within their network, also that might be of interest is that my customer is using windows server 2000 as a proxy server.
Please forgive the pasted code, Im new in the forums