In asp.net 2.0 , c#.
Is it possible to start a thread from a page, for example when a asp:button is clicked and from another page, check if that thread has exited?
Reason: We have a page that starts a long server-side script when a button is clicked. However, since we don't want to wait the ending of the script on that page, we thought about creating a thread that executes the script, then get the thread ID and redirect the user on a 'Please wait' page that refresh check every 5 seconds to check if the thread has exited.
Any better idea on how to achieve that?
Thank you!