%option explicit%> <% dim errorarray if request.servervariables("request_method") = "POST" then 'check if username password is entered right if trim(request.form("login")) = "mechanics" and trim(request.form("pass")) = "institute" then Session("Authenticated") = "true" response.redirect("/members/welcome.asp") else Session("Authenticated") = "false" errorarray="true" end if end if %>
|