billybob joe Posted February 20, 2008 Share Posted February 20, 2008 OK, so, I'm trying to make it so you can only get redirected if you have the right username and pass. heres what I put up but it is not working for me....Login.asp <html><body><form method="post" action="Login.asp">Username <input type="text" name="Username" /><br />Password <input type="password" name="Password" /><br /><br /><input type="submit" value="login" /><%If Request.Form("Username=Me") && ("Password=Yaitsme") Then Response.Redirect "google.com"%></form></body></html> Note: I chose google.com as I have not made the website yetand I also want it so that theres multiple combonations like you could log in if you put Username: Guy Pass: 123 and also Username: Girl Pass: abcthanks in advance Link to comment Share on other sites More sharing options...
justsomeguy Posted February 20, 2008 Share Posted February 20, 2008 If Request.Form("Username") = "Me" && Request.Form("Password") = "Yaitsme" Then Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.