Welcome Guest, Not a member yet? Register   Sign In
Loading Controllers
#1

[eluser]tommymcglynn[/eluser]
Hey,

I feel like what I'm trying to do is load a controller from another controller. Maybe I should be trying to do something else to achieve the same results. If so, please let me know. Otherwise, maybe you could let me know how to do what I am trying to do.

For example, I have a controller that would build a home page (let's call it Home controller). I have another controller that builds a login page (let's call it Login controller). When a user submits the login form, they are redirected to the Login controller which handles determining successful login. On failure the Login controller would again build the login page but on success I want to build the homepage. Shouldn't the Home controller handle this? So it seems that the Login controller would then need to direct to the Home controller. How do I do that?

Am I going about things all wrong?

Thanks,
Tommy


Messages In This Thread
Loading Controllers - by El Forum - 05-28-2009, 12:36 PM
Loading Controllers - by El Forum - 05-28-2009, 01:47 PM
Loading Controllers - by El Forum - 05-28-2009, 02:47 PM
Loading Controllers - by El Forum - 05-28-2009, 03:12 PM
Loading Controllers - by El Forum - 05-28-2009, 03:38 PM
Loading Controllers - by El Forum - 05-28-2009, 06:24 PM



Theme © iAndrew 2016 - Forum software by © MyBB