Hello Fello Spectra Developers,

I am still having problems with accessing "request.cfa.activeUserDirectory".
I have restarted all the cold fusion, site minder services and I have also
rebooted the machine a couple of times. I have a feeling the problem lies
with the application.cfm file. Can anyone please tell me what's wrong with
the following code. 

Important: for some reason, the COOKIE.cfauth is not defined and therefore
the <cfa_secure tag is not executed. 

Any help will be greatly Appreciated 

Nitin


----------------------------------------------------------------------------
--------
<cfparam name="mode" default="Browse">
<cfparam name="url.designmode" default="false">

<cfif url.designmode>
        <cfset mode = "design">
</cfif>

<cfa_applicationinitialize      name="cybersite"  setclientcookies="True"
sessionmanagement="True"  bactivelog="True" mode="#mode#">

<cfif IsDefined("COOKIE.cfauth")>
    <cfparam name="form.username" default="">
    <cfparam name="form.password" default="">

    <cfa_secure 
        username = "#form.username#"
        password = "#form.password#"
        dataSource="#request.cfa.objectstore.dsn#"
        securityContext = "#request.cfa.activelSecurityContexts#"
        storageType="cookie | session"
        r_bResult = "loginSuccess"
        r_stUserProfile = "request.stUserProfile"
        >

    <!--- Setting bool for testing if user is logged in to RestoreNet --->
    <CFIF loginSuccess>
        <CFSET request.bIsLoggedIn="true">
    <CFELSE>
        <CFSET request.bIsLoggedIn="false">
    </CFIF>
<cfelse>
  <cfoutput>Not Logged In...</cfoutput>
</cfif>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to