Inloggningsida:
sSQL = "SELECT userID FROM tbl_users WHERE userName = 'ettNamn' AND userPwd = 'ettPwd'
Set rs = Conn.Execute(sSQL)
if rs.eof or rs.bof then
'felaktig inloggning
response.redirect("retry.asp")
else
'godkänd inloggning
session("auth") = 1
response.redirect("start.asp")
end if