Welcome Guest, Not a member yet? Register   Sign In
Detect Function In Controller
#1

[eluser]gedev2006[/eluser]
Hi

I have a class for example with a constructor. The construct function detects if a user is logged in or not before allowing access to any functions.

What I want is to be able for the constructor to detect which function the user is trying to access to allow specific functions to be used regardless of the logged in state. This can be done in each function that needs a login, but there are allot of functions and would rather have 1 check only

Thanks


Messages In This Thread
Detect Function In Controller - by El Forum - 06-05-2008, 08:00 AM
Detect Function In Controller - by El Forum - 06-05-2008, 08:02 AM
Detect Function In Controller - by El Forum - 06-05-2008, 08:05 AM
Detect Function In Controller - by El Forum - 06-05-2008, 11:55 AM
Detect Function In Controller - by El Forum - 06-05-2008, 01:16 PM
Detect Function In Controller - by El Forum - 06-05-2008, 02:03 PM
Detect Function In Controller - by El Forum - 06-05-2008, 02:08 PM



Theme © iAndrew 2016 - Forum software by © MyBB