Color red, for example, all warning messages in this code in the page inc_header.asp
code in the page inc_header.asp
'## Login Flood Control For Testing Only ## Add code below for testing ##
'## FOR TESTING ONLY ## REMOVE AFTER TESTING ##
if trim(Session(strCookieURL & "login")) <> "" then
Response.Write Session(strCookieURL & "login") & " Failed login attempts.</br>"
end if
if isDate(Session(strCookieURL & "logingrace")) then
Response.Write DateDiff("s",Session(strCookieURL & "logingrace"),time) & " seconds of grace period have expired.<br />"
end if
if isDate(Session(strCookieURL & "logindelay")) then
if inStr(DateDiff("s",Session(strCookieURL & "logindelay"),time),"-") > 0 then
Response.Write Replace(DateDiff("s",Session(strCookieURL & "logindelay"),time),"-","") & " seconds before you can login.<br />If you try to login before the time is up you will go back to the start.<br />You will be able to login again at " & Session(strCookieURL & "logindelay")
else
Response.Write "You can login now. Your login attempts will be set to 0 when you try to login again."
end if
end if
'## End #################################################################
Cordially, Maxime
Taxation consists in so plucking the goose to get the most out of feathers with the least possible cries.(Jean-Baptiste Colbert)
'## Login Flood Control For Testing Only ## Add code below for testing ##
'## FOR TESTING ONLY ## REMOVE AFTER TESTING ##
if trim(Session(strCookieURL & "login")) <> "" then
Response.Write Session(strCookieURL & "login") & " Failed login attempts.</br>"
end if
if isDate(Session(strCookieURL & "logingrace")) then
Response.Write DateDiff("s",Session(strCookieURL & "logingrace"),time) & " seconds of grace period have expired.<br />"
end if
if isDate(Session(strCookieURL & "logindelay")) then
if inStr(DateDiff("s",Session(strCookieURL & "logindelay"),time),"-") > 0 then
Response.Write Replace(DateDiff("s",Session(strCookieURL & "logindelay"),time),"-","") & " seconds before you can login.<br />If you try to login before the time is up you will go back to the start.<br />You will be able to login again at " & Session(strCookieURL & "logindelay")
else
Response.Write "You can login now. Your login attempts will be set to 0 when you try to login again."
end if
end if
I disturbed you for nothing. This code on the page inc_header.asp and test code to be deleted after the test. I am truly sorry to have bothered you for a mistake or translation has not been done by me.
See here below in red: ## Login Flood Control For Testing Only ## Add code below for testing ## '## FOR TESTING ONLY ## REMOVE AFTER TESTING ##
Cordially, Maxime
Taxation consists in so plucking the goose to get the most out of feathers with the least possible cries.(Jean-Baptiste Colbert)