Welcome Guest, Not a member yet? Register   Sign In
help with boolean
#8

[eluser]KrizzAngel[/eluser]
ok that was clear.. i got it now.. but another problem i got here.. can u guys assess my code..
Quote: function index()
{
if($this->checker())
{
$this->load->view('home');
}
else
{
$this->upanel();
}
}

function checker()
{
return ($this->session->userdata('is_logged_in')) ;
}
function logout()
{
$this->session->sess_destroy();
$this->index();
}
*edited
ok i thought its my logout that had a problem but its not.. i closed my browser but it seems that index always redirect me to upanel XD


Messages In This Thread
help with boolean - by El Forum - 01-21-2010, 09:13 PM
help with boolean - by El Forum - 01-21-2010, 11:04 PM
help with boolean - by El Forum - 01-22-2010, 02:01 AM
help with boolean - by El Forum - 01-22-2010, 03:32 AM
help with boolean - by El Forum - 01-22-2010, 03:51 AM
help with boolean - by El Forum - 01-22-2010, 05:30 AM
help with boolean - by El Forum - 01-22-2010, 07:04 AM
help with boolean - by El Forum - 01-22-2010, 07:14 AM
help with boolean - by El Forum - 01-22-2010, 10:29 AM



Theme © iAndrew 2016 - Forum software by © MyBB