As part of my app, I need to process a file the user uploads, which could take some time. So far I'm redirecting to a page that has an animated gif of a never ending progress bar, but I'm wondering what to do from there.

I can't really start my long process in the PageLoad event, because the page looks like it's hung. Doesn't seem to be a PageDoneLoading event, so I'm thinking of either a timer or a META refresh and redirect, or maybe spawning a thread to handle the process.

Is there an accepted way of doing this? Haven't tried yet, but unsure of how/if a spawned thread can redirect to a page that shows the result of the process.

Any ideas appreciated,
Mike