In woking out the code on listing 17.7, I cannot seem to get the password compare to work. If I enter a wrong password or even leave the field blank, the error message does not display, the proper user information is displayed and the password field is blank.<BR><BR>I downloaded the code from the sams web site and with that code the same thing is happening.<BR><BR>________________________________ _________________________________<BR>My code:<BR><BR> if not (strcomp(objrs("password"), request.form("password"),_<BR> vbBinaryCompare) = 0) then<BR> objrs.close<BR> set objrs = nothing<BR> objconn.close<BR> objconn = nothing<BR> response.write "&#060;A HREF=&#039login.html&#039&#062;"<BR> response.write "Invalid Password."<BR> response.write "&#060;A&#062;"<BR> response.end<BR> end if<BR><BR> <BR><BR>Whats up?<BR><BR>Greg