Hi,
When running my ASP NET CORE MVC site on IIS I notice that after 5 minutes of no requests, I get logged out of the site (I'm using Identity with cookies authentication).
I suspected this being caused because of the app pool shutting down of inactivity, thus losing any session memory related to the user.
So when in Staging/Production environment, I replaced the InMemoryDatabase for a SqlServer. But I am still having this problem, and I see some weird exceptions of a key not being found in a key ring. I just want the cookies or whatever is needed to persist (either in the sql server or the drive).
These are the important files in the project.
I apologize if I'm missing important details, let me know if I do. Thanks for reading.