My MVC 5 site has web.config like this:
<authentication mode="Forms">
<forms name=".ADAuthCookie" loginUrl="~/Account/Login"
timeout="2880" slidingExpiration="true" protection="All" />
</authentication>
but timeout doesn't work. It doesn't matter what value I give here, it always expires after 20-30 mins. How can I maintain users logged in for longer period or until they sign-out?
Is there any way I can achieve this using "In-Proc" only? Or I am missing something here?