Welcome Guest, Not a member yet? Register   Sign In
calling a controller from another controller.
#1

[eluser]nealumney[/eluser]
Hi Folks,

I have a process which validates whether as user is logged in, or a session has ended (thank you CI for making this very easy). But if the session has ended, or the user is not logged in, I want to re-direct them to a login page. If they are logged in then I want the controller to carry on as if nothing had happened. Is there anyway to use CI to re-direct the user to another controller? Or do I just use standard php to re-direct?

Thanks,

Neal


Messages In This Thread
calling a controller from another controller. - by El Forum - 05-04-2009, 03:34 AM
calling a controller from another controller. - by El Forum - 05-04-2009, 03:37 AM
calling a controller from another controller. - by El Forum - 05-04-2009, 03:44 AM
calling a controller from another controller. - by El Forum - 05-04-2009, 03:45 AM



Theme © iAndrew 2016 - Forum software by © MyBB