473,408 Members | 1,702 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

Any way to fire off an HTTP request without 'waiting' for a result?

I have an IMG element that I've been using to send messages back to my
server whenever certain item option choices are made by a visitor. I send
each message by forming a URL with various search arguments being used, and
then I use Javascript to se the IMG element's SRC property to the URL.

I have discovered, that if the visitor clicks multiple options quickly, IE
does not execute every URL request. It looks like it queues them and when
the HTTP request thread gets around to it, all the old URL requests are
dumped as if they were overlapping.

Is there a way to make an HTTP request to a server that doesn't wait for
result, like the way a UDP send would work (if it was strictly socket
stuff).? Or is there another mechanism to GET or POST to a server that
would not suffer the same request dropping that his happening with IE and
the current method?

thx

--

Robert Oschler
Jul 20 '05 #1
2 2599
Robert Oschler wrote:
I have an IMG element that I've been using to send messages back to my
server whenever certain item option choices are made by a visitor. I send
each message by forming a URL with various search arguments being used, and
then I use Javascript to se the IMG element's SRC property to the URL.

I have discovered, that if the visitor clicks multiple options quickly, IE
does not execute every URL request. It looks like it queues them and when
the HTTP request thread gets around to it, all the old URL requests are
dumped as if they were overlapping.

Is there a way to make an HTTP request to a server that doesn't wait for
result, like the way a UDP send would work (if it was strictly socket
stuff).?
HTTPRequest object?

http://jibbering.com/2002/4/httprequest.html

Or is there another mechanism to GET or POST to a server that would not suffer the same request dropping that his happening with IE and
the current method?

Don't think it has anything to do with the request method; sounds like
an IE thing to me.
Perhaps HTTPRequest will work...
Regards,
Stephen

Jul 20 '05 #2
In article <hF*****************@news2.news.adelphia.net>,
"Robert Oschler" <no_replies@fake_email_address.invalid> wrote:
Is there a way to make an HTTP request to a server that doesn't wait for
result, like the way a UDP send would work (if it was strictly socket
stuff).?

I'm not aware of any but if your client doesn't need any
data back, can't your server send back an immediate empty
response and then do whatever work it needs to?
Jul 20 '05 #3

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

Similar topics

10
by: Fred | last post by:
There is a setting in INIT.ORA that has the unintended side-effect of making sure the ALTER SYSTEM KILL SESSION command has immediate affect. Without this setting, I've seen some instances where...
3
by: Stig-Arne Basberg | last post by:
I am working on a project where I want to send at file from a Win CE device to a receiving PC using the HTTP protocol. For testing purpose I made a simple test app on my PC (code below). The...
1
by: Polaris | last post by:
Hi: I have some lengthy operations need to be finished before I can respond to client's request. Just wonder, is it possible to use a thread of my own to respond to client's web request? As a...
7
by: Gordon Smith | last post by:
I have four (4) ASP.NET Web applications/Web sites on a IIS/6 - Windows Server 2003 production server. 3 of them work fine. I just installed the 4th one and it's Application_Start event is not...
0
by: Raven Jones | last post by:
Heya all, I'm working on a web-based application (using ASP.NET and C# on .NET 1.1.4322, supporting only IE6 for Windows) that allows for file uploads. Screen real estate is at a premium, so I...
5
by: Stephen Barrett | last post by:
I have read many threads related to async fire and forget type calls, but none have addressed my particular problem. I have a webpage that instantiates a BL object and makes a method call. The...
3
by: Daniel | last post by:
Hi, I have a scenario where a class is wrapped inside another but the inner class triggers an event. I want that event to be accessed outside of the wrapper. As a result i do code such as: ...
2
by: John Kotuby | last post by:
Hi guys, I am converting a rather complicated database driven Web application from classic ASP to ASP.NET 2.0 using VB 2005 as the programming language. The original ASP application works quite...
7
by: Ben Voigt [C++ MVP] | last post by:
As much as the CLR team assures us that it's ok to fire-and-forget Control.BeginInvoke, it seems it isn't. Maybe this is a bug. See for example: the comments in...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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,...
0
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...
0
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...

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.