Hello,
I have a unsolutioned problem for the past days. I have an WebForms application wich uses individual accounts for login using Idendity 2.0.
After I deployed the application to production environment I noticed that the users are not logged in after a certain amount of time (approx 1h). There is no error that shows up (the username and password are correct, and the application redirects user to main page, as it should). The problem is that the user is not logged in.
I also mention that the production environment is made of 2 Web Servers (Windows Server 2012 R2 with IIS 8.5) pointing to a shared network location.
If I restart the IIS service, the users can log in again for approx 1h. I don't get any warnings or errors events, nothing.
The only difference I saw was that when a users succeedes to SignIn, it also receives .AspNet.ApplicationCookie, and when it cannot Signin, that cookie isn't received (or sent by server).
Please help me or lead me further in troubleshooting this problem.
Thanks in advance,
Alex