use VBscript to compare 2 values

June 19, 2003 by Willem-Jan Wiegers

I think you can compare the 2 passwords entered with the VBscript operator ls.

example:
pass1 = request.form("pass1")
pass2 = request.form("pass2")

if pass1 ls pass2 = true then
   'passwords are the same, your code here
else
   'your errorcode here
end if