session timeout
-
My application's session lasts for only 2 or 3 minutes even if I set session timeout to 30 minutes in web.config file. <system.web> <sessionState timeout ="30" ></sessionState> </system.web> Can anyone tell the reason
-
My application's session lasts for only 2 or 3 minutes even if I set session timeout to 30 minutes in web.config file. <system.web> <sessionState timeout ="30" ></sessionState> </system.web> Can anyone tell the reason
It's hard to tell what is causing the problem. Are you doing anything that will reset the application, like modifying web.config runtime etc ? If yes it will clear all session variables.
All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia How to use google | Ask smart questions
-
My application's session lasts for only 2 or 3 minutes even if I set session timeout to 30 minutes in web.config file. <system.web> <sessionState timeout ="30" ></sessionState> </system.web> Can anyone tell the reason
Hi, Check your session timeout in IIS as well. Follow the path IIS -> Default Website -> YourWebSite -> (right click) Properties -> (from Tab) ASP.Net -> Edit Configuration -> (from Tab) State Management. Check the session out time here and try to increase it if it is lesser than 30 mins.