I've tried to use this code:
However, nothing happens, the page stays the same and the url changes to:
login.aspx?ReturnUrl=%2fupload.aspx
Can anyone please tell me how I can direct people to different pages depending upon the username they enter?
Thankyou
VB.NET:
if(username.Text = "admin" and password.Text = "xxx")
response.redirect("upload.aspx")
elseif (username.Text = "neds" and password.Text = "xxx")
response.redirect("neds.aspx")
end if
However, nothing happens, the page stays the same and the url changes to:
login.aspx?ReturnUrl=%2fupload.aspx
Can anyone please tell me how I can direct people to different pages depending upon the username they enter?
Thankyou