Click here to Skip to main content
15,913,610 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i want the c# progrming for to display the last login enter as a default username and password in the login screen please give any logic or code for me ....urgent please....











thanks in advance :)


velmurugan.
Posted

You can do for username using cookies or any other client side option.

Why do you want to keep password? It shouldn't be. Password fields are not supposed to be carry forward. Don't know where from this logic of persisting password for next login occurred to you... couldn't you think of a scenario User A logs in and logs out and then User B comes and find both username and password of User A already filled in?

It's a security breach and in case you still need to persist password at next login, better would be to remove it altogether!
 
Share this answer
 
v2
thank you ............. sandeep:)
 
Share this answer
 

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