Hi Nitin,
you are going to love this! If you use the default spectra login screen your
cfa_secure tag needs to use the same field names that are in it.
>From memory, they are SpectraUserName and SpectraPassword. (check the source
of login.cfm for confirmation).
thus your codes looks like..
<cfa_secure
username="#form.Spectrausername#"
password="#form.Spectrapassword#"
securityContext="sc1"
storageType="session"
r_bResult = "isOkay"
r_stUserProfile="stUser">
Good Luck,
Lucas.
----- Original Message -----
From: "Sanghi, Nitin" <[EMAIL PROTECTED]>
To: "Spectra-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, February 22, 2001 12:40 AM
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.