Start a process on Page_Load but dont wait for it!!
-
Hello everyone, I am needing to start a long process when the user very first visits a web page. However I do not want to wait for the process to end. I need for it to work in the background as that process has nothing to do with UI and no confirmation is required when the process is finished. Is there a way I can do that? Would appreciate your help.
-
Hello everyone, I am needing to start a long process when the user very first visits a web page. However I do not want to wait for the process to end. I need for it to work in the background as that process has nothing to do with UI and no confirmation is required when the process is finished. Is there a way I can do that? Would appreciate your help.
Write it as a windows service and start it in page load, if that's the right place. Application start seems more likely.
Christian Graus No longer a Microsoft MVP, but still happy to answer your questions.
-
Hello everyone, I am needing to start a long process when the user very first visits a web page. However I do not want to wait for the process to end. I need for it to work in the background as that process has nothing to do with UI and no confirmation is required when the process is finished. Is there a way I can do that? Would appreciate your help.
Use response.flush