I Use this in my act_authenticate.cfm

        <CFSET Client.Permissions = AuthenticateUser.Permissions>
        <CFSET Client.UserType = AuthenticateUser.UserType>

Then on each page I use this code to see if the user has permissions:

        <cfif ListFindNoCase(#Client.Permissions#,"AddUser")> (or for whaterver
permission I set)

        The permissions are set in a single field in the user database in a comma
delimited list.



Right. I guess I wasn't being clear in what I was asking. My question
wasn't about authenticating the users, but with what comes next. I'm
wondering how other people handle delivering different tools to different
levels of users... do they have a lot of conditional processing on each
page, which turns into spaghetting pretty quickly, or do they have four
different fuseactions, each dedicated to a different type of user (assuming
they have four levels of user), or do they just code a separate section of
the site for each kind of user (which wouldn't allow much code reuse).

------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to