net 2.0 and I want admin session variable timeout for 1 hour.
Is it possible? and How?
I am using windows 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.
You can set the session timeout globally in web.config:
And you can programmatically override that setting in your code (e.g. for the admin’s session only), by setting Session.Timeout, e.g:
Have a look at this MSDN page for details.