I have a component that handles all my session management the
initializeSession() looks like this

<cffunction name="initializeSession" access="public" returntype="struct">
                <cfargument name="alias" type="string" required="yes"/>
                <cfargument name="groups" type="string" required="yes"/>
                <cfargument name="userObjPath" type="string"
required="yes"/>
                <cfset var groupStruct = StructNew()/>
                <cfset var userObj =
CreateObject('component',arguments.userObjPath)/>
                <!-----Some mechanism for creating group membership struct
here------->
                <cfset groupStruct.DomainUsers =
ListContains(arguments.groups,"Domain Users",",")/>
                <cfset session.user =
userObj.init(arguments.alias,groupStruct)/>
                <cfreturn session.user/>
        </cffunction>

Do I need to var scope session.user.  Sorry about the trivial question.

Justin
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' 
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]

Reply via email to