Hello,
I have been trying to add log tables to my asprunner sites to incereas security.
I have the Successfull Login attempts log down and working great. I am pretty much
using the same code for the Unsuccessfull attempts log except changing status to "failed".
I am using the Global Unccessfull Login event in asprunner 4.0 and it just dosent seem to do
anything, no errors or anything it just doesnt add any values to the table. Below is the code I am using.
[codebox]Sub AfterUnsuccessfulLogin()
'** Insert a record into another table ****
LogDate = now()
USERID = UCase(Session("UserID"))
MACHIP = Request.ServerVariables("REMOTE_ADDR")
STATUS = "Failed"
strSQLInsert = "insert into LoginAttemptsTable (LogDate, USERID, MACHIP, STATUS )
values (' " & LogDate & " ', ' " & USERID & " ', ' " & MACHIP & " ', ' " & STATUS & " ' ) "
dbConnection.Execute strSQLInsert
End Sub
%>[/codebox]
It's not that big of a deal that it doesn't log unccessfull attempts because that will most likely be a huge
list anyway, but I would like to get the unccessfull login events working any way.
Thank You!
Stealth-