c# - Reload or redirect from within thread -


In my asp.net page I have a thread that runs for a while (sometimes up to 2 minutes) . How can the page be reloaded / redirected after the thread? I know I can not use the feedback. Redirect () because the page is already loading.

You may consider an AJAX webservice and a periodic voting by the client. In addition to the webservice on the server side, in addition to the webservice, you will need a way to uniquely identify the functions that run in different threads and to know the thread when the webservice is visible on it.

Once the customer signs an AJAX reaction that is done, then you then trigger the redirect via Javascript.

Comments