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?
[eluser]nealumney[/eluser]
Sorry for being such an idiot!!
Thank you very much for such a quick reply, and yes I do. I did look for this, but just could not find it, still I am learning with every new thing.