I want to set timeout for my web application for 12 hours.
I have done setting in web.config file as:
<system.web>
<sessionState timeout="720" />
</system.web>
As suggested in the following post:
- I came to know that the
Application Pool
recycles in every 20 minutes (if the pool is ideal).
And I also checked for changing the application pool time out using one question about application pool timeout setting - But still the
session
time-out is not set to 720 minutes. Do I need to changemachine.config
file for changing thesession
time out.
But I think the properties ofmachine.config
file should be overriden byweb.config
file.
Kindly provide me some idea.