Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What happens when a user closes their browser waiting for a long running web service call?

I have a similar issue like here: http://social.msdn.microsoft.com/forums/en-US/biztalkgeneral/thread/87d5a6ec-04ee-4c6f-8267-f526ee105f0b

I have an asp.net web page that calls a BizTalk web service. The BizTalk orchestration does its stuff and returns a response to the asp.net page. The process could take up to a minute or two. I get a lot of timeouts but it seems the BizTalk orchestration is returning within 30 seconds on average.

I'm wondering, what happens if the user submits their request and then immediately closes their browser. Does the asp.net client stop waiting for BizTalk's request (and cause a timeout) or will it still wait for the request even if the user has closed their browser?

like image 520
dtc Avatar asked Dec 31 '08 19:12

dtc


1 Answers

The ASP.NET request continues to execute, ignorant of the fact that the browser that originally submitted the GET/POST is no longer waiting. The request will complete, barring any other errors, such as server timeouts.

like image 151
TheZenker Avatar answered Dec 01 '22 14:12

TheZenker