Looked into the session timeout settings in web.config of the application. we already set timeout to 180 minutes (3 hour). It came to know that user session get expires after 20 minutes (which is the default setting).
That missed two things to change :
- Application pool’s Idle Time-out(minutes)
- Session state – State server’s Time-out (seconds)
Once changed above settings than after Session timeout worked.
Checklist that can help us to validate Session timeout settings:
- Application Pool – Advanced Settings Menu – Process Model – Idle Time-out (minutes)
- Sites – Session State – Cookie Settings – Time-out (minutes)
- If you are using State Server or SQL Server to manage your session (instead of InProcess), Here is the steps to follow : Sites – Session State – Session State Mode Settings – Time-out (seconds)
- Under Web.config – system.web – authentication mode – forms – timeout (for form authentication)