In my web site I have a handler (GetFile.ashx) which, when executed, lets you download a file at a given download rate. The handler needs to be executing until the user finishes download. The problem is that while the handler is executing, other pages (and the handler itself) of the website are unreachable and IIS waits until the page have finished executing before responding to other requests.. How can I solve?
Another thing I noted is that I'm using IIS7 on a server on Amazon EC2... How can it be possible that IIS can only process one request at a time??
Thank you.
I solved. If you use a page (or handleer) which implements IRequireSession, will lock other pages from processing, because it will have an exclusive lock on the session. The solution is to create an handler which doesn't require session state.