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

[eluser]mshaw087[/eluser]
Hi there,

I'm new to the forum so please go easy on me. I am creating the security for a system using the Code Igniter framework and have created a sub controller extending from the controller library (The sub controller is called MY_Controller.php). I have inherited from this controller any controller that can only be viewed by an authenticated user. In the constructor for MY_Controller it checks if the user is currently logged in and if not it redirects them to the login page. This all seems to work in Firefox, however in Internet Explorer whenever I use any address that involves using a route, the constructor for MY_Controller isn't run and therefore this check isn't happening. The consequence is an anonymous user is able to view the page that only authenticated users should be able to see. Has anyone seen this situation? Is there a resolution? I can provide more information if necessary. I hope this all makes sense.


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