Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

cfapplication and htaccess

New Here ,
Oct 01, 2012 Oct 01, 2012

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

TOPICS
Advanced techniques
477
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 01, 2012 Oct 01, 2012
LATEST

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>

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources