?
Solved

Check new username sb

Posted on 2006-04-18
2
Medium Priority
?
245 Views
Last Modified: 2008-02-26
Hello experts
Using Dreamweaver, I have a user registration page which prevents an email address being allowed if it is already taken.

<td colspan="2" class="smallText"><%if (cStr(Request("repeat"))<>"") then Response.Write("That email address is already taken.  Please choose a new email address and try again.<br>(Use your browser's back button to update your previous entry.)")%>
<input name="hiddenUserAccess" type="hidden" id="hiddenUserAccess" value="2"></td>

I would also like to apply this to username and password.

The dreamweaver behavious allows only one Check New Username SB

Is is possible (or desireable) to apply restrictions on username and or passwords.

Thank you
John
0
Comment
Question by:johnhardy
2 Comments
 
LVL 5

Accepted Solution

by:
Willibob earned 1400 total points
ID: 16479086
Surely, you wouldn't want to apply this behaviour to passwords!! You don't want to be telling people what passwords are in your system!!

My advice would be to use email addresses as usernames with an activation email  being sent to the registered email address. This should prevent fraudulent registrations.

If someone attempts to register a duplicate email address then they have either already registered with you or it isn't their email address they are using in which case you wouldn't want them to be able to register anyway.

So if a user attempts to register with the following details:

Email address: me@domain.com
Password: passw0rd

...and the email address already exists then you could let them know that the email address is already registered and offer to send a password reminder to the email address but I wouldn't let them know if the password also exists.

In summary, there should be no need to check the uniqueness of a password (as the email address and password combination will be unique) and if you use email addresses for usernames with activation emails being sent upon registration then you should be able to keep your registration database fairly clean.

Hope this helps

Bill
0
 

Author Comment

by:johnhardy
ID: 16480474
Thanks Bill,
Sounds like just the advice I needed

Regards

John
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I still run into .cgi files every now and then. In some instances, I actually prefer the simplicity of a .cgi script to other options. Since I use DreamWeaver extensively, what I needed was a way to open .cgi scripts in Dreamweaver. And I wanted to …
This article is very specific and is only intended to help if you are installing Dreamweaver 8 in a Windows 7 environment with Office 2007 installed.   I'm not sure why Microsoft tends to release OS' that should not be released but they do.  Windows…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question