I am creating a C# MVC5 Application. I have mentioned session timeout to be 60 minutes in web.config
but it's not working and sessions break after couple of minutes.
Here is the code I added in web.config
:
<system.web>
<sessionState mode="InProc" timeout="60"></sessionState>
<httpRuntime targetFramework="4.5" maxRequestLength="25360" />
<authentication mode="Forms">
<forms loginUrl="~/Account/Login" timeout="2" />
</authentication>
<!--<authentication mode="None" />-->
<compilation debug="true" targetFramework="4.5" />
</system.web>