Hi,
in a webapplication, after a submit a page is called which is processing
images uploaded by the user. currently after submit a status bar will be
visible (the page for the image processing runs in an iframe) and after
image processing the page makes an redirect. if there are many images, the
processing needs some time and if the user is closing the browser the
processing will be interrupted.
now i would like to source out the image-processing to make it
"barrier-free". my idea was to write after submit the sessionId (foldername
with images = sessionId) to a database and read the database with a cronjob
to process the images.
i have heard from threading and that it should be possible to store a thread
in memory even if the user is closing the browser.
is it true, that a method-call can be saved in a thread, or would the
database-cronjob-solution be better?
thank you very much.
Regards,
Christian