Check the actual form....is the input name the same as what you are
accepting? Is the input field empty? With that kind of error, I've found
that the form itself is usually the culprit!
Happy hunting,
Erika
(with a *K*)
"Blessed are they who can laugh at themselves, for they shall never cease to
be amused."
-----Original Message-----
From: Hubert Earl [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 03, 2001 7:15 PM
To: CF-Talk
Subject: Problem with login page
hi. when i submit my login page i get this error message:
"
Error Diagnostic Information
An error occurred while evaluating the expression:
#Form.UserPassword#
Error near line 8, column 15.
----------------------------------------------------------------------------
----
Error resolving parameter FORM.USERPASSWORD
The specified form field cannot be found. This problem is very likely due to
the fact that you have misspelled the form field name.
The error occurred while processing an element with a general identifier of
(#Form.UserPassword#), occupying document position (8:14) to (8:32)."
This is the code I'm submitting, but darned if I could find anything wrong
with it:
<CFQUERY NAME='CHECK' DATASOURCE='Clico'>
SELECT * FROM User
WHERE UserName = '#Form.UserName#' AND
Password = '#Form.UserPassword#'
</CFQUERY>
I've checked datasource name etc. Could anyone suggest what I may be
overlooking? Thanks.
---
Hubert Earl
ICQ#: 16199853
AIM: hubertfme
My Jamaican Art, Craft & More Online Store:
http://www.angelfire.com/ny/hearl/link_page_on_angelfire.html
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists