Welcome Guest, Not a member yet? Register   Sign In
Cookie/Session value gets destroyed after redirect. Help please :(
#15

[eluser]debasishdebs[/eluser]
Code:
function get_login_info($username)
{
  $this->db->select('password, email, user_id, FK_group_id, active');
  $this->db->where('username', $username);
  $i = $this->db->get($this->table);

  return $var = ($i->num_rows() > 0) ? $i->row() : FALSE;
}

This is my get_login_info() so ofcourse it returns correct thing. $this->table is name of table m accessing. If you say my login is wrong then what should i do? Use some authentication sys? Can you suggest a good one?


Messages In This Thread
Cookie/Session value gets destroyed after redirect. Help please :( - by El Forum - 02-05-2012, 02:40 AM



Theme © iAndrew 2016 - Forum software by © MyBB