I have an application that is working ok, however, when I spend a little time without interacting with the page the user authentication drops and the system returns to the login screen. I'm trying to set that time for 20 minutes in web config but I could not.
<authentication mode="Forms">
<forms loginUrl="~/Login.aspx" timeout="20" />
</authentication>
<sessionState timeout="20"></sessionState>
...
<customErrors mode="Off" />
<machineKey decryptionKey="AutoGenerate,IsolateApps" validationKey="AutoGenerate,IsolateApps" />
in app settings
<add key="aspnet:MaxHttpCollectionKeys" value="2000" />
I've seen everything in my IIS, I looked at the microsoft forums and other posts here from the OS, however the session continues to fall very fast (thing of a minute or two) ...