Im using forms authentication. I want my application should not logout the user automatically after sometime.
Im using forms authentication. I want my application should not logout the user automatically
Share
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.
You can change the timeout like this:
Further config options can be found here.
Make sure your session timeout isn’t less than the forms authentication timeout. Otherwise, your users will have a hard time using your site.
You can change the session timeout in the web.config:
Further details can be found here.
It could be a security issue to have someone logged in indefinitely.