PDA

View Full Version : asp:Login Problem


asifakhtar
05-16-2009, 08:54 PM
Hello,

I am making a web site with master page in C#. I used membership, Roles and Profile.

I am using asp:Login, when I log in it doesn’t match the exact UserName in my database and lets me in the application for example the UserName in my database is “Admin” but it aslo logs me in if I enter “admin” or “adMIN” or “AdMin”. How can I fix this that whatever value I have in the database it should exactly match the value for example if I have “Admin” in my database, the application should only let me in if I enter “Admin” in the asp:Login

Brandoe85
05-18-2009, 05:57 PM
Find the stored procedures in the database that are validating the user (and storing the user) I believe they convert everything to lower case in there. Change those clauses and it should be case sensitive.

Good luck;

asifakhtar
05-28-2009, 07:45 PM
Find the stored procedures in the database that are validating the user (and storing the user) I believe they convert everything to lower case in there. Change those clauses and it should be case sensitive.

Good luck;

Thank you very much.