I have a dotnet core 3.1 project running on a Windows 2016 server IIS. After login, a cookie is created but if the client restarts his PC the cookie still exists but application redirects to login and does not remember the user. Cookie looks like invalid.
In the same server we have also an the older version of this project build with .net framework 4.5.1 and we have never had an issue about session or cookie.
First I suppose it can from the clients browser but if it is from the client than both of the application should get the same problem.
So what else can be? What are your suggestions?