I've coded an asp log in page for user access to a system. My database connection is working, and I can successfully identify the user in the database using the entered name, but my password comparison is not working. The reason being is that the password field is a 15 character field, and not all passwords are 15 characters.<BR><BR>Example:<BR><BR>User: John<BR>Password: hello<BR><BR>In order to get the code to properly validate the password, John would have to enter "hello**********" (* designating a space bar entry) in order to log in. Ideally, he should only enter "hello".<BR><BR>Does anyone know how to get my if statement to ignore the empty characters in the SQL database? Or any other means of fixing the problem?