Hi.
Since the Session will be alive until its TimeOut happens in the case the user Closes the Browser, what happens to a Loop going on inside an Application.Start thread if at some point it Updates the now non existent Client?
Will it throw an Exception into the cyber space where this Session has been left?
Sorry for the concept confusion going on…
Thanks in advance.
Ivan
Nothing, the websocket is closed. You may find an exception in the event viewer from the IIS websocket library. If you have a loop in a thread check Application.IsTerminated or it will keep running until the server is shut down. Threads keep running, the concept of a session doesn’t exist in .NET or in any other system, it’s entirely created by web frameworks.
Thank you!
Application.IsTerminated is going to help me a lot.
Please login first to submit.