Eliminate the "incorrect password' statment

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I use a database results asp page to allow customers to enter their user Id
number to get access to the customer page. The page checks my database on the
server to validate user Id and return customer name to display.
When the user id page is first opened we get a "invalid user id" message
because the text field is blank and the page checks the database upon opening.
Is their a way to avoid this. I don't want the page to search the data base
upon opening.
 
Make the page *not* check the database on opening - that is before any user
has submitted their details the check should be made when the click
"Submit".
 
See http://spiderwebwoman.com/resources/dbrwtipsandtricks.asp#return

--




|I use a database results asp page to allow customers to enter their user Id
| number to get access to the customer page. The page checks my database on the
| server to validate user Id and return customer name to display.
| When the user id page is first opened we get a "invalid user id" message
| because the text field is blank and the page checks the database upon opening.
| Is their a way to avoid this. I don't want the page to search the data base
| upon opening.
|
| --
| Ben Choate
 
Back
Top