Sean - Thanks for your reply. I'll copy and paste the 1-5 below and try to modify it to be more clear. ---------------------------------------------------------- To answer your question, it's both. If I do an output of GetAuthUser() in "CFLHDIntranet\DocShare\Application.cfc" I get: 'domain\user; If I do an output of GetAuthUser() in "CFLHDIntranet\DocShare\index.cfm" I get: '707' (emp_id as set in CFLHDIntranet\Application.cfc ) In the parent Application.cfc(2) I pick up AUTH_USER from the Windows Integrated Authentication (IE/IIS) as 'domain\username' and then set the GetAuthUser() by doing: <cflogin> <cfloginuser name="#loginQuery.EMP_ID#" Password="#loginQuery.password#" roles="#loginQuery.ROLE#"></cflogin> Will this work? THe intention is to set that value that GetAuthUser() returns to 'emp_id' for use everywhere. However it seems the child Application.cfc is still returning the 'domain\username', while the index.cfm(5) seems to get the intended value just fine. Is this any help? Intranet Folders and Files: CFLHDIntranet\ (folder) (1)CFLHDIntranet\Application.cfc (2)CFLHDIntranet\DocShare (folder) (3)CFLHDIntranet\DocShare\Application.cfc (4)CFLHDIntranet\DocShare\index.cfm (5) 1) - The whole intranet lives in this folder. 2) - 'CFLHDIntranet\Application.cfc' (abreviated) <cfcomponent output="true"> <cfset this.name="CFLHDIntranet"> <cfset this.sessionmanagement="yes"> <cfset this.SetClientCookies="no"> <cfset this.loginstorage="session"> <cffunction name="onSessionStart" returntype="void"> I do a bunch of login stuff to log them in and set an EMP_ID from the DB <cflogin> <cfloginuser name="#loginQuery.EMP_ID#" Password="#loginQuery.password#" roles="#loginQuery.ROLE#"> </cflogin> </cffunction> 3) - (DocShare) Folder that the quarrelsome application lives in 4) - 'CFLHDIntranet\DocShare\Application.cfc' - extends the parent Application.cfc This file will not return the GetAuthUser() as it was set in the parent Application.cfc<cfcomponent extends="CFLHDIntraNet.Application"> <cfoutput>#GetAuthUser()# |#this.name#|</cfoutput> - test before cflogin is called: returns domain/username <cflogin applicationtoken="#this.name#"></cflogin> <cfoutput>#GetAuthUser()#</cfoutput> - test after cflogin is called: returns domain/username --- a bunch of application level security needing the EMP_ID code from the GetAuthUser() - set in the parent Application.cfc----</cfcomponent> 5) However, if you call 'CFLHDIntranet\DocShare\index.cfm' the GetAuthUser() returns '707'=EMP_ID as it should.
Brent Nicholas - 248.767.5516 - [EMAIL PROTECTED] "There, I guess King George will be able to read that!" - John Hancock > Date: Sat, 25 Aug 2007 13:00:49 -0700> From: [EMAIL PROTECTED]> To: > cfcdev@cfczone.org> Subject: Re: [CFCDEV] Application.cfc variables and > cflogin> > On 8/24/07, Brent Nicholas <[EMAIL PROTECTED]> wrote:> > hmm.. so > either this question was so dumb I provided everyone with a good> > > chuckle.... or it's truly perplexing..> > I've read your post a couple of > times but I'm really not sure what> you're asking...?> > You start by saying > that getAuthUser() does not return the right value> but then you say:> > > 5) > However, if you call index.cfm the GetAuthUser() returns '707'=EMP_ID as> > > it should.> > So... which is it? Right or wrong?> -- > Sean A Corfield -- > (904) 302-SEAN> An Architect's View -- http://corfield.org/> > "If you're not > annoying somebody, you're not really alive."> -- Margaret Atwood> > > You are > subscribed to cfcdev. To unsubscribe, please follow the instructions at > http://www.cfczone.org/listserv.cfm> > CFCDev is supported by:> Katapult > Media, Inc.> We are cool code geeks looking for fun projects to rock!> > www.katapultmedia.com> > An archive of the CFCDev list is available at > www.mail-archive.com/cfcdev@cfczone.org> You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfm CFCDev is supported by: Katapult Media, Inc. We are cool code geeks looking for fun projects to rock! www.katapultmedia.com An archive of the CFCDev list is available at www.mail-archive.com/cfcdev@cfczone.org