What happens if a long running page is closed by the user before he has received a response?
Does the page continue to run in the it’s thread or is the thread terminated as soon as the user closes the page?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Oded is correct, the request keeps processing long after the user has browsed away or closed their browser window. For fun try this:
The request keeps processing after navigating away, but the IsClientConnected property changes to false. You can use this to your advantage, but you have to write code to take advantage of that, normally for long running requests.