Blackhawks Soccer
<%
Response.Expires = -1
' Defend against user trying more than 3 times to log in
If Session("nBHLoginAttempts") >= 3 Then
Response.Redirect "TooManyAttempts.asp"
End If
' Determine the error string to add to the login screen
If Session("bBHInvalidUser") = True Then
sError = "Invalid User - try again"
ElseIf Session("bBHInvalidPassword") = True Then
sError = "Invalid Password - try again"
Else
sError = ""
End If
' Defend against User already logged in
'If Len(Session("sBHUserID")) > 0 Then
' User is already logged in
' Response.Redirect "LoggedIn.asp"
'End If
%>