ODBiC Discussion Board


password

by sam, July 20, 2005 14:33

<% DATABASE "DSN=personal; UID=sa; PWD=########" %>
<% select passwd from auth where username= '$username$' %>
<P>
      <% IF $row$ = 0 %><p align="center">
       <font face="Verdana" size="2">No such user. Please go back and reenter your user ID.</font></p>
          <% EXIT %>
       <% ENDIF %>
	  <% IF $pwd($password1$) <> $passwd$ %>
	  <p align="center">
          <font face="Verdana" size="2">
          $username$ $pwd($password1$) = $passwd$
          </font></p>
<p align="center">
          <font face="Verdana" size="2">
          Incorrect password. Please go back and reenter your password.
          </font></p>
          <% EXIT %>
       <% ENDIF %>
       NOTE: encrypted password matches, allow operation
Eventhough my password comes same as the one that is stored in the database it comes back with incorrect password. I am also displaying on the screen to compare with $username$ $pwd($password1$) = $passwd$ what am I doing wrong????

Replies:


Post Your Reply:

Name   
E-mail  optional
Topic  
Message:

HTTP Link: 
Link text: 


Copyright 1997-2003, Roger Harris. All rights reserved.