Click here to Skip to main content
15,886,833 members
Please Sign up or sign in to vote.
1.44/5 (2 votes)
See more:
Hi,
i want to make use of asp.net login control in my application .if anyone wants check the check box placed in that control for "remember me next time".Then i want to allow him with out typing his password into the application.



any help,
Posted
Comments
Mahendra.p25 2-May-11 3:59am    
But its not a good thing to store user and password on local machine, even if it is in encrypted format

set the RememberMeSet property to true

<asp:Login RememberMeSet="True|False" />



The user and password will be remembered on the login screen if the browser supports (and the user wants) it.

What "Remember Me" does it to set a cookie in the client so, next time the user browses the page, it's automatically logged in.
 
Share this answer
 
v2
XML
<authentication mode="Forms">
    <forms cookieless="UseCookies" timeout="525600" />
</authentication>
 
Share this answer
 
 
Share this answer
 
You might want to read about Cookies.

Beginner's Guide To ASP.NET Cookies[^]
 
Share this answer
 
Here is a nice and simple to follow example:
http://www.aspcode.net/Remember-me-on-next-login.aspx[^]

Good luck!
 
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