-1

I have long running data processing on one page. It takes 3 minutes - that is an operation done by the admin and it is not executed very often.

What will happen if the user closes the page? I suppose if that user have more tabs or pages opened to the same site, the execution will continue otherwise will stop. Is that correct thinking?

Lyubomir Velchev
  • 962
  • 2
  • 11
  • 30

1 Answers1

2

When an ASP.NET page runs, the page goes through a life cycle in which it performs a series of processing steps. These include initialization, instantiating controls, restoring and maintaining state, running event handler code, and rendering.

All your code will be running no matter if the client is there or not to receive it . as @DLeh mentioned in his comment The server doesn't know and doesnt' care if the browser has closed the page.

check this out for more info MS Link

IndieTech Solutions
  • 2,527
  • 1
  • 21
  • 36