Print Page | Close Window

Log Failed / Successful Logins

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=29113
Printed Date: 01 April 2026 at 4:04pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Log Failed / Successful Logins
Posted By: iSec
Subject: Log Failed / Successful Logins
Date Posted: 08 February 2011 at 11:34am
For security purposes, I need to log failed and successful login attempts on the forum.  How can this be accomplished?

I already have logging enabled for the functions already supported.



Replies:
Posted By: WebWiz-Bruce
Date Posted: 08 February 2011 at 1:07pm
You could edit the login_user.asp file and call the logging function when a failed or not failed login attempt is done:-

Call logAction(strUsername, "Login failed")

This will save the action to the forums log file. You do not need to include time or IP as the logging function include that for you in the log file.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: iSec
Date Posted: 08 February 2011 at 7:00pm
Bruce, this is great... thank you!! Thumbs Up

-------------
"When it gets dark enough, you can see the stars"
-Charles A. Beard



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net