Click here to Skip to main content
15,886,075 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear All

I'm trying to write a website which based on ASP.Net. When I made a login page with username and Password, and also connected to a SQL server. But when I type in the right username and password. It will need to click login twice to login. Once I login, when I go back to the login page. No matter what I'm trying to type in the username and password textbox. The system will always log me in. I heard that the session can help, but I don't have any idea how to use it. Is there anyone could help me? Or show me some usable code samples please?

Thank you

Jimmy
Posted
Updated 8-Mar-13 4:31am
v2
Comments
Richard C Bishop 8-Mar-13 10:39am    
You will need to write some code that logs you out before you try to log in again.

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900