We are excited to announce that the IIS.NET Forums are moving to the new Microsoft Q&A experience. Learn more >

Parallelization of requests for the same session [Answered]RSS

2 replies

Last post Oct 14, 2009 09:45 AM by turlututunicohu

  • Parallelization of requests for the same session

    Oct 13, 2009 11:35 AM|turlututunicohu|LINK

    Hi,

    When serving several requests for the same user session, ASP serializes them.

    It happens in numerous cases. For instance, when a page has several iframe, ASP treat these iframes one by one (as long as sessions are enabled).

    So, is there a way to parallelize some requests for the same session ?

    We are using IIS 6.0 on a w2k3 server.

    Thanks

     

  • Re: Parallelization of requests for the same session

    Oct 13, 2009 11:48 AM|tomkmvp|LINK

    No.

    Why are you using iframes?  I think the problem here is that the browser makes individual requests for each irframe content.

  • Re: Parallelization of requests for the same session

    Oct 14, 2009 09:45 AM|turlututunicohu|LINK

    Thank you for your answer tomkmvp,

    In fact, iframes were only an example. The matter is similar with parallel ajax requests (serialization) or server side caching methods (using xmlhttp object with appropriate cookies, it generates a deadlock).

    But, in my test with iframes, I have tried to replace the .asp iframes with .txt files: They look served in parallel by IIS. In other words, my browser handles several parallel requests.

    Also, in my test with server side use of the xmlhttp object, the IIS log clearly shows the requests serialization.

    Moreover, I realize that the session object in ASP don't provide lock/unlock methods.

    So... to bad, I have to rewrite a big ugly application :)

    Thanks you anyway.