I have an ASP.NET web application that needs to allow the user to start a long process to perform complex calculations and create/manipulate database records.
-- I need to allow a user action to start the process from a
form where needed input parameters are supplied.
-- I'm planning on updating a field in the database when
the process starts to indicate the process is 'in process'.
(i.e. 0 not started, 1 in process, 2 done )
-- After setting the flag I need to either 'disconnect' from the process to let the user do other things
OR
--Alternately, I could supply an status screen and update it every (?two minutes?) to let them know how it's progressing
Is there a way to put the process in a stand alone class or server side executable and then execute it? OR
Is there a way to put the code in a module and force updates to the screen at given intervals.
Comments on the best approach &/or code examples (in VB) greatly appreciated.
Thanks!