You must add a Log In User server behavior to the login page to ensure that the user name and password that a user enters are valid.
When a user clicks the Submit button on the login page, the Log In User server behavior compares the values entered by the user against the values for registered users. If the values match, the server behavior opens one page (usually the site’s Welcome screen). If the values do not match, the server behavior opens another page (usually a page alerting the user that the login attempt failed).
the previous page of these instructions saysaswrt said on Feb 26, 2008 at 10:10 PM :
You don’t have to specify an action or method attribute for the form to tell it where and how to send the record data when the user clicks the Submit button. The Log In User server behavior sets these attributes for you.
this page says
In the Server Behaviors panel (Window > Server Behaviors), click the Plus (+) button and select User Authentication > Log In User
before i can click the plus button, i must choose a server behavior, and once i do, it changes the page i am working on to a .cfm page.
i then fill in the dialogue box and enter the name of the .cfm as a form action in my .html page.
am i doing this right?
so far, i have only been able to get the login failed page to show.
I have same problem. all works well except the login page doesn't verify the username and password that is in mysql database. Login Failed keeps popping up.....sundaydriver said on Mar 4, 2008 at 7:27 AM :
this didnt help me one bit, i couldnt get it to work, it does not work with any <cfform>,<cfinput> or any other CF tags. it also was unable to see my database, it was just one error after another...time to research session variablesbobsta63 said on Apr 29, 2008 at 7:26 AM :
I too have exactly the same issue and its the same for all three of my PC's I am using Dreamweaver CS3 with ColdFusion 8.Alejandro Mena said on Nov 29, 2008 at 7:01 AM :
I try to add a 'User login behavior' fil it all in properly but same as you guys/gals all I get is 'Login failed'. If I do the same Login Behaviour in PHP instead of Coldfusion it works fine.
The issue must be with the Code that Dreamweaver generates and places in the .cfm file.
If anyone has a solution please get back to me,
Thanks,
Bobby
You must enable sessions in the application.cfm file. For more information, follow this link
http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/sharedVars5.htm
I made the file Application.cfm and put it in my root folder. In this file I put this code.
<cfapplication name="GetLeadApp"
sessionmanagement="Yes"
sessiontimeout=#CreateTimeSpan(0,0,45,0)#>
After this, the log in user behavior worked fine.
RSS feed | Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/en_US/Dreamweaver/9.0/WScbb6b82af5544594822510a94ae8d65-7880.html
Comments
Comments are no longer accepted for Dreamweaver CS3. Dreamweaver CS4 is the current version. To discuss Dreamweaver CS3, please use the Adobe forum.