%@ Language=VBScript %> <% Option Explicit %> <% CheckSSL(False) Dim strCommand, strErrMsg strCommand = GetFormVal("Command", Request("Command")) Select Case strCommand Case "validate" Dim strEmail, strPassword strEmail = Trim(Request.Form("txtEmail")) strPassword = Trim(Request.Form("txtPassword")) If ValidateUserLogin(strEmail, strPassword) Then Response.Redirect "users.asp" Response.End Else strErrMsg = "Incorrect Email Address or Password entered" End If Case "logout" Case Else Select Case Request("msg") Case 1 strErrMsg = "Your session has expired - please login again" Case 2 Session.Abandon strErrMsg = "User successfully logged out" Case 3 strErrMsg = "Cannot login with this account" End Select End Select %> <%HeadStart%>

WEBSITE ADMIN
<%= strErrMsg %>
The Website Admin is best viewed with Microsoft Internet Explorer v6.0+![]()