I had a problem with the "remember me" checkbox in the MVC6 project. I had a question here that solved the problem for debugging my local host, however, after deploying the project in our dev environment, it still forces me to re-login after 20 minutes.
The 20 minute time span made me think that something was incorrectly configured using IIS. I found that my application pool (configured as "no managed code") the idle timer is idle after 1 minute. Of course, after 1 minute I need to log in again.
This leads me to believe that my saved cookie authenticator is no longer accepted as valid after reusing the application pool (although my cookie is configured so that it does not expire before 10 days, and SecurityStampValidationInterval set to 10 days and 1 min.
I saw something similar in early versions of .NET related to the web.config machine key, but MVC6 does not have a system.web section in the web.config file so that I can put the machine key.
My .NET project. DNX targets the full .NET platform, not the .NET Core.
mituw16
source share