Welcome Guest, Not a member yet? Register   Sign In
MY_Controller constructor not run for route in IE
#5

[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.


Messages In This Thread
MY_Controller constructor not run for route in IE - by El Forum - 08-26-2009, 04:02 PM
MY_Controller constructor not run for route in IE - by El Forum - 08-26-2009, 04:07 PM
MY_Controller constructor not run for route in IE - by El Forum - 08-27-2009, 11:38 AM
MY_Controller constructor not run for route in IE - by El Forum - 08-27-2009, 12:31 PM
MY_Controller constructor not run for route in IE - by El Forum - 08-27-2009, 01:57 PM
MY_Controller constructor not run for route in IE - by El Forum - 08-27-2009, 02:12 PM
MY_Controller constructor not run for route in IE - by El Forum - 08-28-2009, 08:50 AM
MY_Controller constructor not run for route in IE - by El Forum - 08-28-2009, 10:08 AM
MY_Controller constructor not run for route in IE - by El Forum - 08-28-2009, 10:17 AM
MY_Controller constructor not run for route in IE - by El Forum - 08-28-2009, 10:25 AM
MY_Controller constructor not run for route in IE - by El Forum - 08-28-2009, 10:38 AM
MY_Controller constructor not run for route in IE - by El Forum - 08-28-2009, 12:25 PM
MY_Controller constructor not run for route in IE - by El Forum - 08-28-2009, 12:37 PM
MY_Controller constructor not run for route in IE - by El Forum - 08-28-2009, 12:42 PM
MY_Controller constructor not run for route in IE - by El Forum - 08-28-2009, 12:56 PM
MY_Controller constructor not run for route in IE - by El Forum - 08-28-2009, 01:50 PM



Theme © iAndrew 2016 - Forum software by © MyBB