Intrafoundation Software
Making Atomic Warfare Fun Again
[Home] | [News & Forums] | War & Politics God Cryptography Operating Systems Game Development | [Writing] Writings Poetry Wisdom | [Web Development] ColdFusion ASP ColdFusion CFX ColdFusion Scripts COM Objects Javascript Web Design Active Projects | [About Us] Photography Raytracing DOS Software

| Need a shoulder to cry on while trying to convince Windows to properly work with our software? Just want to chat about something related to the site? Feel free to use the forums slash news slash blog. (Unsolicited commercial spam will be deleted, obviously.) | Looking for something?

This is thread 114. The complete list of threads is available on the main forums page.

Subject: validate login on domain Author: John Riker Date/Time: 2002 August 27 10:54.41AM (114.0) I'm running cf 5 and am a little confused about domain logins. The app I'm writing is inside the firewall and we authenticate with NT Domains. Can someone send me a sample of what I need to do in CF5 in order to authenticate a person's username and password against a domain and if it isn't clear, how we tell CF when someone types in their particular domain name, what to do to validate that user agains it. Thanks. JR
> Subject: RE:validate login on domain Author: Shaun Parvin Date/Time: 2002 September 12 08:19.27PM (119.114) JR, there are some examples of this in the new version. This will tell you whether the logon is correct or not. Once you get past this, you will need to decide how you want to manage your sessions (variables or cookies - variables are the most secure & efficient). - Once you mapped out your session setup, in place of the text reading "Granted" (below) you will insert your session activation query & in place of the "Denied" text you will put your code for a second login attempt - notifying the user that their logon has failed. Hope this helps, Shaun This should work as long as the user accounts are in the domain as you said. Just insert this into your .cfm page -------------------------------------------------------------------------------------------
> User | IsValid
> --- | ---

> #User# | GrantedDenied

Subject: RE:validate login on domain Author: Shaun Parvin Date/Time: 2002 September 12 08:21.00PM (120.114) John, send me an e-mail and I will send you the script. shaunparvin@benq.com Shaun

| REPLY
--- | ---
Author: |
Email: |
Subject: |
Your Message: |

top