What is maximum Session Timeout Value in Web.config
-
Hello I am developing an Web Applcation. What is the maximum timeout for sessionState in web.config so that my Session variables doesn't get destroy. Swapnil Bhavsar
-
Hello I am developing an Web Applcation. What is the maximum timeout for sessionState in web.config so that my Session variables doesn't get destroy. Swapnil Bhavsar
By default is 20 minutes and rest u can set it upto life time.
Hello Forum Always be in touch to help about the topic ASP.NET
-
Hello I am developing an Web Applcation. What is the maximum timeout for sessionState in web.config so that my Session variables doesn't get destroy. Swapnil Bhavsar
According to MS documentation: The Timeout property cannot be set to a value greater than 525,600 minutes (1 year). NOTE there is another thing you need to be concerned with. If you are running IIS 6.0 then you are also using an application pool. The application pool by default is set to recycle itself after like 27 hours. If the app pool is recycled you would lose all session information. Hope that helps. Ben
-
Hello I am developing an Web Applcation. What is the maximum timeout for sessionState in web.config so that my Session variables doesn't get destroy. Swapnil Bhavsar
swapnilbhavsar wrote:
Applcation
Web Application
swapnilbhavsar wrote:
maximum timeout for sessionState in web.config so that my Session variables doesn't get destroy
That much high cost of memory and open idle sessions to remain.
Vasudevan Deepak Kumar Personal Homepage Tech Gossips
-
Hello I am developing an Web Applcation. What is the maximum timeout for sessionState in web.config so that my Session variables doesn't get destroy. Swapnil Bhavsar
The maximum timeout for sessions is much larger than any sane person would use. The purpose of having a timeout on sessions, is that it removes the session objects from memory when they aren't used any more. If you have a very long timeout, you will have a lot of session objects in memory. Memory is cheap, but it's still a limited resource. If the server starts to run out of memory, it gets tremendously slow.
--- single minded; short sighted; long gone;