I'm putting an access restriction clause.
I created a table with the people that can access, my intention is that the ones that can access are directed to the page and those that can not be directed to another
But there is something wrong
usuario = right(Request.servervariables("LOGON_USER"),7)
set RSUSER = conexao.execute("SELECT usuario FROM tabela ")
if usuario = RSUSER("usuario")
then response.redirect("../index.asp")
else
response.redirect("acesso_restrito.asp")
}