Welcome Guest, Not a member yet? Register   Sign In
Checking to see if logged in when accessing Members Area
#3

[eluser]JamesTaylor[/eluser]
Matt,

your code would need to be included in each function of the controller though wouldn't it?

I want to try and create it so that it only needs declaring once in the controller and is always run when any of the function within the controller are called... although the number of pages contained within the members area isn't massive it would soon become in-effecient to add the code to each function as a site grows, i'm also going to have add a similar 'logged in' check to an admin backend section for the site.


Messages In This Thread
Checking to see if logged in when accessing Members Area - by El Forum - 11-09-2009, 11:28 AM



Theme © iAndrew 2016 - Forum software by © MyBB