Wisej Application.Start threads after Browser closed

Answered
0
0

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

  • You must to post comments
Best Answer
0
0

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.

  • You must to post comments
0
0

Thank you!

Application.IsTerminated is going to help me a lot.

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.