.Net Framework 4.8 MVC website. For some reason, when there are 2 different sessions connected and one of them closes, the application restarts. There are very specific reasons IIS restarts and the only one that applies here is an uncaught exception, which I cant believe. We left both connections idle and logs show the only thing still happening was periodic KeepAlive (request and response is both empty we just simply log that it happened).
Functionality in Session_End
has try/catch so it really cant be an uncaught exception.
How can I figure out why and how to stop IIS from restarting the app?