[eluser]Unknown[/eluser]
Hi there I've got a problem with a login area. I need to call a function verifyCookie() which looks for a user cookie or user session. So now I don't want to call this function in every needed controller and after that call if(loggedin) do that, if not do that.
So I only want to tell the Controller it is a logged one and the rest is automatic. So if not logged it redirect to login, else do the normal functions in the controller.
Hope someone can help me.