I have an issue where I have a simple application that exposes a web server for inter-process communication. This application is meant for a single user to make requests to it. It is not a windows service.
If someone logs out, no problem. The application is shut down and so the web server goes away. But if someone uses the user switching functionality - the application remains and will respond to requests that come in on that port from a separate user account.
How can I fix this?
Thanks for any ideas!