Reid,

More info about the session.firstLogin issue can be found here:
http://bugs.farcrycms.org:8080/browse/FC-572

Cheers

David

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED]
On Behalf Of Andrew Mercer
Sent: Tuesday, 8 August 2006 9:19 AM
To: [email protected]
Subject: [farcry-dev] Re: Setting up Active Directory


I think you find that this flag is set when farcry sets this flag if it
finds a record in dmProfile

So in your AD login, set this flag to one.

There is another flag that you may one to set - bInDB; stored in SESSION
somewhere (dmProfile or dmSec). 


On 8/8/06, Jeff Rountree (sent by Nabble.com) <[EMAIL PROTECTED]> wrote: 




        Reid McLaughlin wrote:
        >
        >
        > download this zip,
http://www.fishbone.co.nz/AD_farcry_setup.zip
        >
        This custom login works great, Reid - Thanks!
        
        I ran in to one small problem when logging in via AD, however:
any
        subsequent login after the first login would throw a "firstLogin
not defined 
        in Session" error, but only on the Overview tab left menu
(sidebar.cfm).  I
        fixed it by adding:
        
        <cfelse>
        <cfset session.firstLogin = 0>
        
        after:
        <cfset session.firstLogin = 1> 
        
        Final:
        <cfif bHasLoggedIn>
             <login code here>
             <cfset session.firstLogin = 1>
        <cfelse>
             <cfset session.firstLogin = 0>
        </cfif>
        
        --
        View this message in context:
http://www.nabble.com/Setting-up-Active-Directory-tf1870413s621.html#a56
90229
        Sent from the FarCry - Dev forum at Nabble.com.
        
        
        






--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/farcry-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to