[eluser]mshaw087[/eluser]
Hey Jedd,
Here is the code I have in my logout controller:
Code:
<?php
class Logout extends Controller {
function Logout()
{
parent::Controller();
}
function index()
{
$this->session->unset_userdata('session_user_id');
$this->session->sess_destroy();
$this->load->view('login');
}
}
/* End of file logout.php */
/* Location: ./system/application/controllers/logout.php */
I have tried on another machine and it does the same thing. Again, though I am only able to access the page after I logged in and logged back out afterwards. What is interesting is if I insert a simple die statement in the MY_Controller constructor before any of the authentication checking, Firefox will hit it and stop, but IE doesn't execute the die statement which has lead me to believe that constructor is not running. Thanks for your help so far and any future help.