What is the lifetime of session variables in a asp.net application..

Also can someone give me any links to good articles on session variables in asp.net which give information on advantages and disadvantages of using the same.

Recommended Answers

All 3 Replies

Your question is blongs to the ASP.NET forum. Use Session.TimeOut property to set/get timeout in minutes (20 minutes is default value).

as far as i remember this value is set by machine.config in your IIS server, and you override this with your web.config in your web application.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.