Welcome Guest, Not a member yet? Register   Sign In
Bypassing uri-specified controller method?
#1

[eluser]Unknown[/eluser]
New to CI, just a quick question...
I handle user authentication in the constructor of the controller. If authentication fails, it should display the login form and not run the requested method. Without using _remap(), how can i prevent the requested method from being called automatically (from within the constructor).

Hopefully I was clear enough. Thanks


Messages In This Thread
Bypassing uri-specified controller method? - by El Forum - 09-01-2008, 04:15 PM
Bypassing uri-specified controller method? - by El Forum - 09-01-2008, 04:28 PM



Theme © iAndrew 2016 - Forum software by © MyBB