here is what i am trying to do:
- user logs in and check rember me.
- user then closes the site.
- next time the user visits the sites he is auto logged in withoutre-entring his user or password
thanks
using asp.net 3.5. using forms authentication
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
When you are calling
FormsAuthentication.SetAuthCookie(), you can set the second parameter to true to make the cookie persist for a very long time.