I've tried the following code:
dim strUserName
dim strPassword
'
strUserName= Request.Form("txtUsername")
strPassword = Request.Form("txtPassword")
'
'Checks to make sure the username is not blank, if so then they must
re-enter their information.
if Trim(strUsername) = "" then
Response.redirect "VAR_Login.htm"
end if
'
'Checks to make sure the password is not blank, if so they they must
re-enter their information.
if Trim(strPassword) = "" then
Response.Redirect "VAR_Login.htm"
end if
'
'Checks to make sure the username is entered correctly. If so, the
InfoResource is then displayed.
if Trim(strUsername) <> "isis" then
Response.Redirect "VAR_Login.htm"
else
Response.Redirect "Isis_Var_InfoResource.htm"
end if
'Checks to make sure the password is entered correctly. If so, the
InfoResource is then displayed.
if Trim(strPassword) <> "Isis9009" then
Response.Redirect "VAR_Login.htm"
else
Response.Redirect "Isis_Var_InfoResource.htm"
But it only works with either 'isis' or 'Isis9009'. I want the combination.
ANy ideas?