473,661 Members | 2,448 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Requests from IE shortcut handled sequentially

Hello, All.

I encouraged some strange behaviour of either IIS, ASP.NET, IE or donn't
know what...

I have a simple wait.aspx page

private void Page_Load(objec t sender, System.EventArg s e)
{
object o = new object();
lock(o)
{
Response.Write( "<BR>" + DateTime.Now);
System.Threadin g.Monitor.Wait( o, 5000);
Response.Write( "<BR>" + DateTime.Now);
}
}

It is just writing the start time, wait for 5 seconds, and write end time.

Now I create shortcut for the page http://localhost/asp.net/wait/wait.aspx
on my desktop and click it twice to open 2 IE windows. After the first time
they were opened, I do such test:
1) Click refresh on the page # 1
2) Quickly click refresh on the page # 2
3) Waiting

I see such results:

Page #1
14.06.2006 17:42:10
14.06.2006 17:42:15

Page # 2
14.06.2006 17:42:15
14.06.2006 17:42:20

So I see that my requests were handled sequentially (or were sent by IE
seqentially).

If I open 2 totally separate IE, and enter in both and do the same test, I
see different results:

Page #1
14.06.2006 17:52:44
14.06.2006 17:52:49

Page # 2
14.06.2006 17:52:45
14.06.2006 17:52:50

I.e. requests handled in parallel.

The same behaviour is for ASP (not ASP.NET). But for PHP requests handled in
parallel inspite of the way to open IE.

Also tested with Firefox. Requests ALWAYS handled sequentially. So I am
lost, what is the problem, and where the problem (in client or on server).

Hope for your help !!! :-)

Thanks!
- Alex.
Jun 14 '06 #1
2 1353
there are two issues to look for.

1) if you are using sessions, then requests are serialized by session
ticket. starting the browser from a shortcut starts a new session, but
file->new window starts a second browser instance with the same ticket.

2) IE limits you to 2 concurrent connections (unless a config change is
made) to the same server. firefox allows 8 per sever by default.

you are probably seeing #1

-- bruce (sqlwork.com)
"Alex" <fo************ *@yandex.ru> wrote in message
news:%2******** ********@TK2MSF TNGP05.phx.gbl. ..
Hello, All.

I encouraged some strange behaviour of either IIS, ASP.NET, IE or donn't
know what...

I have a simple wait.aspx page

private void Page_Load(objec t sender, System.EventArg s e)
{
object o = new object();
lock(o)
{
Response.Write( "<BR>" + DateTime.Now);
System.Threadin g.Monitor.Wait( o, 5000);
Response.Write( "<BR>" + DateTime.Now);
}
}

It is just writing the start time, wait for 5 seconds, and write end time.

Now I create shortcut for the page http://localhost/asp.net/wait/wait.aspx
on my desktop and click it twice to open 2 IE windows. After the first
time they were opened, I do such test:
1) Click refresh on the page # 1
2) Quickly click refresh on the page # 2
3) Waiting

I see such results:

Page #1
14.06.2006 17:42:10
14.06.2006 17:42:15

Page # 2
14.06.2006 17:42:15
14.06.2006 17:42:20

So I see that my requests were handled sequentially (or were sent by IE
seqentially).

If I open 2 totally separate IE, and enter in both and do the same test, I
see different results:

Page #1
14.06.2006 17:52:44
14.06.2006 17:52:49

Page # 2
14.06.2006 17:52:45
14.06.2006 17:52:50

I.e. requests handled in parallel.

The same behaviour is for ASP (not ASP.NET). But for PHP requests handled
in parallel inspite of the way to open IE.

Also tested with Firefox. Requests ALWAYS handled sequentially. So I am
lost, what is the problem, and where the problem (in client or on server).

Hope for your help !!! :-)

Thanks!
- Alex.

Jun 14 '06 #2

Thank you, Bruce!

It was the issue #1, as you said. It became ovident after I have specified
cookieless="tru e" in web.config.

-Alex.
there are two issues to look for.

1) if you are using sessions, then requests are serialized by session
ticket. starting the browser from a shortcut starts a new session, but
file->new window starts a second browser instance with the same ticket.

2) IE limits you to 2 concurrent connections (unless a config change is
made) to the same server. firefox allows 8 per sever by default.

you are probably seeing #1

-- bruce (sqlwork.com)

Jun 15 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2566
by: Bruce W.1 | last post by:
With ASP.NET I've found that request are processed sequentially, one at a time, at least on a server with one CPU. If one request blocks for some reason, maybe on a long database query, then all users must wait until it completes, for their request to process. This leaves me wondering about PHP running on IIS and Window. Does this hold true for PHP also? What about PHP on Unix? Does this allow true simultaneous processing of all...
4
27709
by: The Flyer | last post by:
Hi Sorry for posting this message to so many groups, but I was not sure which group the windows keyboard experts would be reading, so I ventured to post it to all of them. I want to map or create shortcut on the keyboard for Cut/Copy/Paste functions. I can use the regular Control_X, C or V to do the same in Windows XP, but I would rather press a single key just like in Sun Solaris keyboards which have specific keys for these functions.
1
2270
by: Agoston Bejo | last post by:
Hello, I have to write some asp pages that react to HEAD and GET requests. The scenario is this: This is going to be a WAP site. When someone goes to the main page, it is redirected to a payment server. The payment server then issues a HEAD request for which the IIS Server has to return some specific header fields. After this, the payment server takes care of how the client pays, etc. When everything is fine, it issues a GET request, for...
1
5323
by: Matthew | last post by:
C# Component Shortcut Key Event Focus We have created our own checkbox component. By capturing the KeyDown and KeyUp events the checkbox steps through a string containing a list of the valid checkbox values, for instance: ABC etc. Also a blank space can be a valid value. Problem: If there is a button on the form with the same shortcut key ('X') as one of the valid values in our checkbox, the buttons OnClick event is captured
1
1520
by: David Thielen | last post by:
Hi; When I display reports, if it's a text file I need to have a .txt extension. This got me thinking, what would seem most natural to users is if the url ended up being something like: http://www.domain.com/asp_name/create-report/ReportTitle.pdf So anything under http://www.domain.com/asp_name/create-report/* goes to my IHttpHandler class ReportCreate. I use the report title as the file name and use the extension that matches the...
10
1947
by: Michael Maes | last post by:
Hi, I want to have a Button.Click event 'raise' a shortcut. If eg Button1 is Clicked, I want to have a shortcut 'CTRL + F12' activated. What's the best way to acchieve this. TIA, Michael
4
1833
by: Steve | last post by:
Hi All I have a windows forms application written in VB.net 2005 which places a shortcut in All users desktop during installation, using MS setup and deployment Occasionally when a customer goes to launch the program the installation screen appears instead of the program starting The strange thing is, if they create a new shortcut to the program .exe
7
3142
by: =?Utf-8?B?Vkg=?= | last post by:
Hi, all. Need help with what seems to be either connection, or threading problem in my ASP.NET 2.0 application. The gist of the problem is this: IHttpHandler in my application serves an HTML page that has two images (image A and image B) in it. Once the HTML page is served, expected behavior is this: 1) receive request for image A, 2) receive request for image B almost at the same time as for A,
0
8428
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8341
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8851
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8754
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8630
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7362
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6181
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5650
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
2760
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.