Print Page | Close Window

Admin Change username bug (?)

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=19975
Printed Date: 29 March 2026 at 12:52pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Admin Change username bug (?)
Posted By: lostcontrol
Subject: Admin Change username bug (?)
Date Posted: 22 May 2006 at 11:53am
I was trying to change the username of a user the other day through the admin area. There is an issue where the textfield containing the new username is not checked for null value when submitted. This results in the username to be repaced to blank and the only way to fix it is straight from the database.
 



Replies:
Posted By: WebWiz-Bruce
Date Posted: 22 May 2006 at 6:41pm
The field in the database for usernames should be set to not accept null's so if you tried this you should get an error from the server.

However, I have fixed this so that a javascript alert comes up alerting the user and the ASP code will not run unless both fields are completed. This should prevent any problems like this from occurring.


-------------
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



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