Copy link to clipboard
Copied
I'm running the latest CF server on a nice Linux box (can't remember what type but it's good and standard) and all is well.
For various reasons I would prefer to authenticate against htaccess... ie the user logs in and then magically in my cfapplication I suck there login from apache and then decide what I'm going to let them see.
I know there must be a way but I've surfed and surfed and can't see anything.
I'd appreciate your expert advice, peeps!
Helen
Copy link to clipboard
Copied
Well there we go... surf and you will find after 24 hours
Apparently GetAuthUser will get the login from htaccess if it can't find one from CF authentication.
So this is what I needed...
<H3>GetAuthUser Example</H3>
<P>Authenticated User: <cfoutput>#GetAuthUser()#</cfoutput>