The ASP.NET application kicks out the users after 20 min even though it has the following in the Web.config and the users are posting the forms:
<authentication mode="Forms">
<forms loginUrl="~/Account/LogOn" timeout="2880"/>
</authentication>
Reading this I am getting an impression that I need to add sliding expiration AND sessionState
set to at least 2880 in order to achieve at least 48 min timeout that would be re-started every time the user does a POST.
Is that correct?
<authentication mode="Forms">
<forms loginUrl="~/Account/LogOn" timeout="2880" slidingExpiration="true"/>
</authentication>
<sessionState mode="InProc" cookieless="false" timeout="3000" />