[eluser]Unknown[/eluser]
My home controller has following code
class Home extends CI_Controller {
public function index()
{
$user = $this->session->userdata('user');
$data = array();
$this->template->write('title', 'Welcome');
$this->template->write_view('content', 'home', $data, true);
$this->template->render();
}
public function logout()
{
$this->session->unset_userdata('user');
$this->session->sess_destroy();
redirect(site_url('home'), 'refresh');
}
}
AND MY LOGOUT URL IS : home/logout
In all browser this is working except mozilla firefox..
I had read many forum and blogs but could not fixed this issue..
Can any one help me ?