|
DesiMcK -> RE: Login Needs to Generate Timestamp (5/6/2008 17:32:13)
|
I have used this code in the past dim fs,f set fs=Server.CreateObject("Scripting.FileSystemObject") set f=fs.OpenTextFile(Server.MapPath("UserLog.txt"),8,true) f.WriteLine("UserName: " & strUserName1 & ", Password: VALID, Date and Time: " &MediumDate(FormatDateTime(Now)) & " - " & FormatDateTime(Now,4)) & ", IP=" & Request.ServerVariables("REMOTE_ADDR") & ", USER_AGENT=" & Request.ServerVariables("HTTP_USER_AGENT") f.Close set f=Nothing set fs=Nothing It writes the details to a text file called UserLog.txt Desi
|
|
|
|