Hello,
I have to create an AWP that take an input parameter, execute a secondary thread that does same work with data passed by parameter and send back an empty string (or something else, just for sending back something). I want that the page sends back the result without wait for secondary thread end, it can take a lot of time.
My problem Is that the the execution of the secondary thread is stopped when the page is "displayed" (I use this page to load data on the server, the parameter contains data that I want to upload and process on the server).
How to prevent the secondary thread interruption but send back immediately the response (empty string or someting like "ok")?
I have to create an AWP that take an input parameter, execute a secondary thread that does same work with data passed by parameter and send back an empty string (or something else, just for sending back something). I want that the page sends back the result without wait for secondary thread end, it can take a lot of time.
My problem Is that the the execution of the secondary thread is stopped when the page is "displayed" (I use this page to load data on the server, the parameter contains data that I want to upload and process on the server).
How to prevent the secondary thread interruption but send back immediately the response (empty string or someting like "ok")?