Re: Concurrent processing of ASP.NET pages



there are two causes for this.

1) the two browsers are using the same session. say you opened the second
one from IE's new window rather than from the start menu. asp.net serializes
accss to session.

2) IE limits the number of requests to the same server, so will serial the
requests. yucan bump this up in the registry.

-- bruce (sqlwork.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: Sessions and closing the browser
    ... as I figured another window in the same ... >> browser wouldnt mean anything. ... > If the different browser windows share the same session cookie then ... > they will all share the same session name and session id, ...
    (comp.lang.php)
  • RE: The session and session ID is being reused between multiple browsers
    ... Session are shared with the same type of browsers. ... independent Session in each page(browser window)? ... is used in the specific page and Session is used for the browser instance. ... Microsoft Online Support ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: DesignBAIS/Dave Bryant
    ... I mean the basic debugger, but not from the browser, from a session ... but because this is the session window ...
    (comp.databases.pick)
  • Re: Session lost
    ... So basically it looks like your session are actually working otherwise the ... Are you using the same active browser to do your tests? ... creating a new window somehow? ... Since ASP session data is stored in cookies, you migth want to check if your ...
    (microsoft.public.inetserver.asp.general)
  • 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)

Loading