Online Results Login
<% If objMember.CheckLogin(Session.SessionID, intUsers_ID) = false Then Dim blnSuccess, strErrorMessage Dim strUsername, strPassword, strUserType ' Create objects Set objMember = New clsMember If UCase(Request.Form("hdnSubmit")) = "YES" Then '// get username and password from strUsername = Trim(Request.Form("parameterBuffer.userName")) strPassword = Trim(Request.Form("parameterBuffer.password")) strUserType = "Dorevitch" blnSuccess = objMember.Login(strUsername, strPassword, strUserType, Session.SessionID) If blnSuccess = false Then ' Login failed, create error message strErrorMessage = "Incorrect Username or Password. Please try again." End If End If If blnSuccess Then session("username") = Trim(Request.Form("parameterBuffer.userName")) session("password") = Trim(Request.Form("parameterBuffer.password")) SQL = "exec Get_Doctor_Details @username = '" & strUsername & "'" Set rs_UnitListing = objDatabase.Execute(SQL) Session("DRFirstname") = Trim(rs_UnitListing("FirstName")) Session("DRLastName") = Trim(rs_UnitListing("LastName")) Response.redirect "/Doctors_453.asp" Else %>Please Enter your Username and Password to login:
If your online result screen has not launched, please Click Here
<% end if %>