CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Case sensitive

Print topic Send  topic

Author Message
gproulx


Posts: 68
Posted: 06/07/2006, 7:29 AM

Hi !

What i want to do is validate the case sensitivity of the user name and his password in a login form.
How did i do that?

Thanks in advance:-)
View profile  Send private message
peterr


Posts: 5971
Posted: 06/07/2006, 12:04 PM

It is already case sensitive, unless your database is not. So please configure your database to be case sensitive.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
Benjamin Krajmalnik
Posted: 06/07/2006, 9:34 PM

Quote gproulx:
Hi !

What i want to do is validate the case sensitivity of the user name and his password in a login form.
How did i do that?

Thanks in advance:-)

As Peter said, this is controlled to some extent by database settings. The premise is that the select statement itself is case insensitive. If you have no control of the database properties, you can compare the values of the record. I do this in my code. The way I approached it was to copy CCLoginUser (located in Common.asp) to CCLoginUser2, modify it to have the case sensitivity test, and call it instead of CCLoginUser.

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.