User Authentication
Could anyone tell me what is wrong with this script. I am trying to get it to check the value of 2 form fields and check the value of both of them at the same time. If the statement is correct then it redirects the user, otherwise it types a statement. PLEASE HELP!
<%
dim grusername
dim grpassword
grusername = Trim(Request.Form("username"))
grpassword = Trim(Request.Form("password"))
If grusername = usernamesomething ; grpassword = passwordsomething then
redirect("http://www.testing.com/admin/news_update.asp")Else
response.write("User Name and/or Password Incorrect")
%>
|