try adding a authenticationURL as shown below.
<cfa_secure
datasource="#request.foo.datasource#"
securityContext="#request.cfa.security.securityContext#"
userName="#form.uid#"
password="#form.pwd#"
r_stUserProfile="stUser"
authenticationURL="/login.cfm">
Pankaj Singh.
-----Original Message-----
From: Sanghi, Nitin [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 21, 2001 7:41 PM
To: Spectra-Talk
Subject: Using the <cfa_secure>
Hello,
Environment: Spectra 1.5 running on Windows NT
I am trying to provide authorization for an Allaire Spectra Application. I
have tried using the <cfa_authenticate> tag, which worked fine, but I have
problems using the <cfa_secure> tag. I am using the default login form and
when I enter the username and password, nothing happens. The page only
refreshes and the login screen is still there. The following is the code for
the <cfa_secure> tag:
<cfa_secure
username="#form.username#"
password="#form.password#"
securityContext="sc1"
storageType="session"
r_bResult = "isOkay"
r_stUserProfile="stUser">
I also created a dummy login page and tried using the "formURL" attribute so
that the default login will not show up, but it does.
Any help will be greatly appreciated.
Thank you
Nitin
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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.