Welcome Guest, Not a member yet? Register   Sign In
Should session data be handled in the view?
#4

[eluser]skunkbad[/eluser]
I think what you are going to find, especially if you reuse code for other projects, is that you are going to want to have multiple user levels or roles. Having just an admin and "everyone else" is pretty restrictive. In Community Auth, the user levels are totally customizable, and are represented by an integer value in the user table. Admin for the default install is user level 9, but it could be 99 or 999 or whatever. The levels themselves are stored in a config file.


Messages In This Thread
Should session data be handled in the view? - by El Forum - 07-06-2012, 06:14 AM
Should session data be handled in the view? - by El Forum - 07-06-2012, 08:13 AM
Should session data be handled in the view? - by El Forum - 07-06-2012, 09:23 AM
Should session data be handled in the view? - by El Forum - 07-06-2012, 09:32 AM
Should session data be handled in the view? - by El Forum - 07-06-2012, 01:30 PM



Theme © iAndrew 2016 - Forum software by © MyBB