Welcome Guest, Not a member yet? Register   Sign In
Problem with user authentication
#2

[eluser]Barry Cogan[/eluser]
Yes that does mean you are caught in an infinite loop.

A couple of things to note aswell:

you are already loading your URL and Session in the My_Controller. You don't need to load them them again in the Orders controller.

Secondly the parent call should read parent::MY_Controller(); for orders.php

and parent::Controller(); for MY_Controller.php

Makes for easier reading.


Messages In This Thread
Problem with user authentication - by El Forum - 05-19-2010, 08:37 PM
Problem with user authentication - by El Forum - 05-19-2010, 08:55 PM
Problem with user authentication - by El Forum - 05-19-2010, 09:02 PM
Problem with user authentication - by El Forum - 05-19-2010, 09:07 PM
Problem with user authentication - by El Forum - 05-20-2010, 03:14 PM
Problem with user authentication - by El Forum - 05-20-2010, 04:50 PM
Problem with user authentication - by El Forum - 05-21-2010, 07:56 PM



Theme © iAndrew 2016 - Forum software by © MyBB