Request.cfa.security.username is the way to go here.  Activeuser is not
always populated with cfa_secure.

or

authenticateduser() always works...

Mike
-----Original Message-----
From: Nate Smith [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 17, 2001 3:52 PM
To: Spectra-Talk
Subject: CFA_SECURE Auth Not Persisting


Hello all,
 
I can't seem to understand this. When I log on using CFA_Secure, I get
authentication and request.cfa.activeuser is defined. However, when I go to
a new page, request.cfa.activeuser is undefined. I placed my CFA_Secure tag
in the Application.cfm.
 
Here's the code, but it as basic as can be. Anyone have any ideas? I've
included my CFA_ApplicationInitialize tag as well.
 
-----
 
<CFA_SECURE
  SECURITYCONTEXT="sc1"
  USERNAME="#uname#"
  PASSWORD="#pword#"
  AUTHENTICATIONURL="#authURL#"
  R_BRESULT="loginSuccess"
  R_stUSERPROFILE="stUserProfile"
  >
 
<cfa_applicationinitialize name="mySite" setclientcookies="True"
sessionmanagement="True" bactivelog="True" mode="#mode#">

-
Nate Smith, 
Lead Developer 
[EMAIL PROTECTED] 
www.doceus.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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