Welcome Guest, Not a member yet? Register   Sign In
Basic authentication system
#2

[eluser]Dam1an[/eluser]
If all functions in that conroller require you to be logged in, you can put the check in the contrustor
If all (or almost all) pages accross all controllers require you to be logged in, you could move t into the MY_Controller constuctor

Also, can you please use [ code ] tags when posting code in the future


Messages In This Thread
Basic authentication system - by El Forum - 06-09-2009, 01:17 PM
Basic authentication system - by El Forum - 06-09-2009, 01:33 PM
Basic authentication system - by El Forum - 06-09-2009, 01:34 PM
Basic authentication system - by El Forum - 06-10-2009, 06:40 AM
Basic authentication system - by El Forum - 06-10-2009, 08:07 AM
Basic authentication system - by El Forum - 06-10-2009, 08:11 AM
Basic authentication system - by El Forum - 06-10-2009, 08:14 AM
Basic authentication system - by El Forum - 06-10-2009, 01:01 PM
Basic authentication system - by El Forum - 06-10-2009, 01:28 PM
Basic authentication system - by El Forum - 06-10-2009, 01:35 PM
Basic authentication system - by El Forum - 06-10-2009, 01:45 PM
Basic authentication system - by El Forum - 06-10-2009, 01:49 PM
Basic authentication system - by El Forum - 06-10-2009, 01:51 PM
Basic authentication system - by El Forum - 06-10-2009, 02:42 PM
Basic authentication system - by El Forum - 06-11-2009, 01:14 PM
Basic authentication system - by El Forum - 06-11-2009, 02:47 PM
Basic authentication system - by El Forum - 06-12-2009, 02:49 AM
Basic authentication system - by El Forum - 06-14-2009, 06:37 AM
Basic authentication system - by El Forum - 06-14-2009, 10:51 AM
Basic authentication system - by El Forum - 06-14-2009, 01:45 PM
Basic authentication system - by El Forum - 06-14-2009, 03:35 PM



Theme © iAndrew 2016 - Forum software by © MyBB