Hi,
I have a custom httphandler (HttpUploadHandler.ashx) which is used for handling requests from a file uploader. It collects all the files from a client then fires a thread to do some processing on the files. When large amounts of files are added it will throw 'Thread was being aborted' exception.
I have checked around on the internet and the going reason for this is that Response.End, Response.Redirect, or Server.Transfer was used. I have not used any of these methods, so it must be called by the system.
So my question is this, how can I safely start background tasks that are not linked to the current page?
thanks,