[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