开发者

AJAX requests hang when streaming file from same domain, different handler

From s开发者_运维技巧ome page I launch a GET request to some ASHX handler that streams a file to the client. Browser download dialog opens, download works fine.

The problem arises when I want to continue to interact with the page. Interacting launches AJAX requests to some (different) handler to fill the page with content. But, as long as the download is still running, no request will come back from the server.

Not before the download has finished will the requests return and allow interaction with the page.

I have this problem on a debugging IIS 7 server and a production IIS 6 server. The application is ASP.NET on .NET 3.5.

Can anyone tell me what is going on?


ASP.NET serializes all requests that access the same session object for writing.

See this post Session Lock Contention with Page Readonly in Inproc Mode for some more information. There is another one but I can't find it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜