<%@ Language=VBScript %> <% response.write(strServerConnection) 'Get username and password from previous form theUserName = request.Form("UserName") thePassword = request.Form("Password") set con = server.createObject("ADODB.Connection") con.open strServerConnection set rs = server.createObject("ADODB.RecordSet") rs.activeConnection = con theUserName = trim(theUserName) thePassword = trim(thePassword) result = validateLogin(theUserName, thePassword) response.redirect("index.asp?validateLogin="&result) %>