Reputation: 10271
Here is a snippet from my web.config file:
<system.web>
<sessionState timeout="1440"></sessionState>
<authentication mode="Forms">
<forms loginUrl="~/Account/LogOn" timeout="1440"
cookieless="UseCookies"
/>
</authentication>
I am getting sessions expiring much sooner than 1 day (within an hour or so). Are there any other IIS or ASP.NET settings that could be affecting this? (the app is not setting any timeouts from code).
Upvotes: 2
Views: 3434
Reputation: 48537
I would check the application pool
s recycle time. This is probably the cause as I think that it defaults to something like 20 minutes.
Upvotes: 1