ASP password check

Results 1 to 2 of 2

Thread: ASP password check

  1. #1
    Join Date
    Dec 1969

    Default ASP password check

    Hi All,<BR><BR>Can anybody please help me?i want to know how to check whether the "password" and "confirm password" fileds are same using ASP.<BR>I am quite new to this language<BR>pls help

  2. #2
    Join Date
    Dec 1969

    Default RE: ASP password check

    If you&#039;re using POST:<BR><BR>&#060;%<BR>If Request.Form("PasswordFieldName") = Request.Form("PasswordConfirmFieldName") Then<BR>Passwords match <BR>Else<BR>Passwords dont match <BR>End If<BR>%&#062;<BR><BR>If using GET:<BR><BR>&#060;%<BR>If Request.QueryString("PasswordFieldName") = Request.QueryString("PasswordConfirmFieldName") Then<BR>Passwords match <BR>Else<BR>Passwords dont match <BR>End If<BR>%&#062;<BR><BR>If you&#039;re using both/your lazy:<BR><BR>&#060;%<BR>If Request("PasswordFieldName") = Request("PasswordConfirmFieldName") Then<BR>Passwords match <BR>Else<BR>Passwords dont match <BR>End If<BR>%&#062;<BR><BR>Hope thats what you wanted, you can also reverse this by using "&#060;&#062;" in place of the "=" as this is not equal to...<BR><BR>Tim

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts