Re: Concurrent processing of ASP.NET pages

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



The pages are not running serially, your requests are - and as they are from
the same client they are dealt with serially.

Fish about on google, but if I remember correctly this can happen if you
open IE and then do new window, both IE sessions are the same. Try running
IE and then run another instance of IE rather than a new IE window. You
should get a different session ID and thus non-sequential requests.

--
Regards

John Timney (MVP)
VISIT MY WEBSITE:
http://www.johntimney.com


"Hitesh" <kathuria.hitesh@xxxxxxxxx> wrote in message
news:1159517391.181840.320320@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
We all know that IIS and asp.net are suppose to be muti-threaded
applications running on a pre-emptive multi-tasking model. But, what I
have
found is that under the default installation of ASP.NET, aspx pages get

executed serially. I know that it's easy to say that this can't be
right,
but I have found threads where others have confirmed this same
behavior.


The situation is _very_ easy to reproduce. Simply place two aspx pages
on a
web site, on the one page put some code that will take a bit to execute
(say
a while loop) and on the other page simply put some text (perhaps
"hello").
Now open two browser windows, in the first browser open the long
running
page, now in the second window open the hello page. What you will find
is
that you will not receive the hello page until the long running page
completes and is sent to the browser. The pages are running serially
on the
server!


How does one configure asp.net so that the pages run under a preemptive

multitasking model?



.



Relevant Pages

  • Re: Caching Output HTML
    ... into PlaceHolder controls in an aspx page that served as a template. ... page, cache that HTML, return the HTML to the requesting browser. ... Subsequent requests for the same page would return the HTML from the cache. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Concurrent processing of ASP.NET pages
    ... one from IE's new window rather than from the start menu. ... asp.net serializes ... IE limits the number of requests to the same server, ... Now open two browser windows, in the first browser open the long ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Send file
    ... they open a new window in javascript that requests the download. ... the window is inline, ... |> | I'm trying to send a file to the browser with Response.Write, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Caching Output HTML
    ... into PlaceHolder controls in an aspx page that served as a template. ... page, cache that HTML, return the HTML to the requesting browser. ... Subsequent requests for the same page would return the HTML from the cache. ...
    (microsoft.public.dotnet.framework.aspnet)
  • 2.0: BEGINNERS QUESTION: closing page
    ... I am learning .NET and I need to close current .aspx page browser ... window. ...
    (microsoft.public.dotnet.framework.aspnet)