I'm not using a login.cfm file.

I have the security set in IIS to use NT authentication on the wwwroot 
directory. When you try to access the webpage
then a NT username/password dialog pops up.


At 02:32 PM 3/19/2002 -0500, you wrote:
>Depends on what you're doing with it.  I frequently do site-wide security 
>where I set variables in the login.cfm then check for those variables in 
>the Application.cfm.
>
>Sharon DiOrio
>
>----- Original Message -----
>From: "phumes1" <[EMAIL PROTECTED]>
>To: "CF-Talk" <[EMAIL PROTECTED]>
>Sent: Tuesday, March 19, 2002 2:37 PM
>Subject: Re: CFX custom tag
>
>
> > This would go in my index.cfm file, correct?
> >
> > At 02:12 PM 3/19/2002 -0500, you wrote:
> > >If I'm understanding the question, you can just set a session variable at
> > >login/authentication time indicating that the code has been run.
> > >
> > ><cflock scope="SESSION" timeout="10" type="readonly">
> > >     <cfset loggedIn = isDefined("SESSION.loggedIn")>
> > ><cflock>
> > ><cfif NOT loggedIn>
> > >     <!--- run code --->
> > >
> > >     <cflock scope="SESSION" timeout="10" type="exclusive">
> > >         <cfset SESSION.loggedIn = 1>
> > >     </cflock>
> > ></cfif>
> > >
> > >HTH!
> > >
> > >Sharon
> > >----- Original Message -----
> > >From: "phumes1" <[EMAIL PROTECTED]>
> > >To: "CF-Talk" <[EMAIL PROTECTED]>
> > >Sent: Tuesday, March 19, 2002 1:28 PM
> > >Subject: Re: CFX custom tag
> > >
> > >
> > > > Hi,
> > > >
> > > > I'm using the following custom tag to output the group(s) of specific
> > > > users. This is in my index.cfm. How can
> > > > I run the code below just once at login/authentication time. I'm 
> using NT
> > > > authentication for login purposes.
> > > > I don't want to run this everytime the index.cfm page is loaded. 
> Its too
> > > > much overhead.
> > > >
> > > >
> > > > <cfset auth = "#CGI.AUTH_USER#">
> > > >
> > > > <cfoutput>
> > > > <CFX_Users ACTION="GROUPS" SCOPE="Local" USER="#auth#">
> > > > </cfoutput>
> > > >
> > > > <table>
> > > > <tr class="dirlinks">
> > > >          <th><b><u>Group(s)</u></b></th>
> > > > </tr>
> > > > <cfif IsDefined("Users")>
> > > >          <cfif IsQuery(Users)>
> > > >                  <cfloop query="Users">
> > > > <tr class="navlinks">
> > > >                          <cfoutput>
> > > >                          <td>#Group#</td>
> > > >                          </cfoutput>
> > > > </tr>
> > > >                  </cfloop>
> > > >          </cfif>
> > > > </cfif>
> > > > </table>
> > > >
> > > >
> > > >
> > > >
> > > >
> > > 
> +-----------------------------------------------------------------------------------+
> > > >
> > > > Philip Humeniuk
> > > > [EMAIL PROTECTED]
> > > > [EMAIL PROTECTED]
> > > >
> > > 
> 
>+------------------------------------------------------------------------------------+
> > > >
> > > >
> > > >
> > >
> >
>
______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to