Skip to main content
October 6, 2008
Question

Help with website login

  • October 6, 2008
  • 1 reply
  • 257 views
Hi,

I'm really new to Coldfusion and have been teaching myself while developing a website using Dreamweaver 8, Colfusion 8 on a Win2k server with MS SQL 2005. All is working well in regard to server access, database integration etc., but for the life of me I can't get my user authentication to work as I would expect.

I've used the example from the Coldfusion MX Bible, Chapter 40 (yeah, I know its not the right version, but I figure that a lot of the details would still be vaild - a little simpleminded of me perhaps) I have the code in a subdirectory 'Secured' on my website with the application.cfm and login.cfm pages in here. When I click on the login button the page refreshes, regardless of whether or not I have a valid username or password entered.

If anyone can shed some light on what I am doing wrong (I have no delusions about it being my mistake) I would be very greatful,

Thanks in advance...
This topic has been closed for replies.

1 reply

Inspiring
October 6, 2008
in cf, you do not use form's name/id to refer to its field values - you
use FORM, which is a cf scope.

so, first of all, all your LoginForm.something need to be changed to
FORM.something
plus in one instance you are using LoadForm.something...


Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/