Welcome Guest, Not a member yet? Register   Sign In
master controller for common tasks?
#1

[eluser]Random dude[/eluser]
I remember reading on the CI forums once about someone using a "master" controller that was invoked before all other controllers and performed common tasks - especially user login check.

So this master controller acts as a sort of gateway between an unknown user and the rest of your controllers - the alternative is to have login check code in each of your controllers?

What are some good suggestions for this problem using CodeIgniter?

Note: I'm using Ben Edmonds IonAuth by the way so maybe others that have used that could share their solution.


Messages In This Thread
master controller for common tasks? - by El Forum - 04-11-2011, 11:57 PM
master controller for common tasks? - by El Forum - 04-12-2011, 12:18 AM
master controller for common tasks? - by El Forum - 04-12-2011, 01:44 AM
master controller for common tasks? - by El Forum - 04-12-2011, 02:17 AM
master controller for common tasks? - by El Forum - 04-12-2011, 06:08 AM
master controller for common tasks? - by El Forum - 04-12-2011, 12:06 PM
master controller for common tasks? - by El Forum - 04-12-2011, 08:05 PM
master controller for common tasks? - by El Forum - 04-14-2011, 03:20 AM



Theme © iAndrew 2016 - Forum software by © MyBB