Perhaps you could check out my
ASP Login Page that I have created
HERE
or the working example
HERE
- HTML: Select all
'Open your database here...
'Check for duplicated entry for the Username and Fullname entered by the user in the registration form!
do while not rs.EOF
'If Username already exist, alert user with QueryString!
if rs("username")=Username then
set rs=nothing
set conn=nothing
Response.Redirect("duplicatedUsername.asp")
'If Fullname already exist, alert user with QueryString!
Else If rs("fullname")=Fullname Then
set rs=nothing
set conn=nothing
Response.Redirect("duplicatedEmail.asp")
End If
rs.MoveNext
loop
Hope this will give you an idea how to do the validation..