ASP.Net Session Timeout: Why 20 minutes used as default?
问题 In ASP.Net the default Session Timeout is set to 20 minutes. Why so? Is there any specific reason behind it? 回答1: It should not be set higher than 20 minutes (except in special cases) because every open session is holding onto memory. From Session.Timeout on MSDN site Note they also give an explanation for the minimum It should also not be set lower than 4 minutes because clients rarely respond within that time resulting in a loss of session state. Hope this helps... 回答2: Well: 10 minutes is