Logi = "SELECT * FROM Logi WHERE Username = '" & request.form("Username") & "' AND Password = '" & request.form("Password") & "'"
Set rsLog = DBConn.Execute(Logi)
If rsLogin.EOF OR rsLogin.BOF Then response.redirect("/Login.asp") response.write "<font color=""#FF0000""><b>Wrong username or password!</b></font>" Else Session("ID") = rsLog("ID")
Logi = "SELECT * FROM Logi WHERE Username = '" & request.form("Username") & "' AND Password = '" & request.form("Password") & "'"
Set rsLog = DBConn.Execute(Logi)
If rsLogin.EOF OR rsLogin.BOF Then response.redirect("/Login.asp") response.write "<font color=""#FF0000""><b>Wrong username or password!</b></font>" Else Session("ID") = rsLog("ID")
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.