473,406 Members | 2,390 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,406 software developers and data experts.

Web error trapping with asynchronous HTTP GET & POST requests

Below is my VB.net 2003 code for simply looking at a page from a
website with different users with cookies and a get command. More in
the program I use the same technique to post actions to the website
with multiple users.

Anyways. As you can see I can correctly keep track of the HTML for each
index by passing the index in and then storing HTML into that index of
an HTMLarray. for request the reqcount goes up by 1, and for each
response/HTML reply the respcount goes up by one. This to indicate when
the same number of responses have gotten correct replies.

My problem is that if I try to send GET requests on a slow basis, say a
1 seconds difference between the two, it will get the response of the
first request before the 2nd request sends, thus screwing things up.

Whats a smarter solution to my setup?

My timeouts also do not work how they should (why I commented them
out). This may or may not be the cause of alot of errors I am getting
within the code. The site generates alot of 505 internal server errors,
which I wish to ignore or retry. It also complains about
System.IO.IOException: Unable to read data from the transport
connection. It seems to be a random problem.

I've decided to just include the ZIP of the project as it includes the
database and all the code.
http://paroxsitic.50webs.com/asyncPOST.zip

Sep 5 '06 #1
0 1039

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

Similar topics

3
by: windandwaves | last post by:
Hi Gurus Does anyone know how I set the error trapping to option 2 in visual basic. I know that you can go to tools, options and then choose on unhandled errors only, but is there a VB command...
0
by: Santa | last post by:
I am using Fritz Onion's "Asynchronous Pages" approach as mentioned in the article http://msdn.microsoft.com/msdnmag/issues/03/06/Threading/default.aspx to increase the performance of my ASPX...
11
by: Ed Dearlove | last post by:
**Also posted in inetserver.iis newsgroup as I am unsure of where the problem lies** Hi, I have a strange problem, or I may just be stupid, but wondering if anyone can help with this one: ...
1
by: Sojwal Chitnis | last post by:
Hi, We have a asp.net web application in which we are making HTTP requests to a remote web server (CGI) & get response in form of XML data. We are using HttpWebRequest object to post the...
1
by: Julian Hershel | last post by:
Reading about asynchronous programming (ms-help://MS.NETFrameworkSDK/cpguidenf/html/cpconasynchronousdesignpatterno verview.htm) I could not clarify some doubts. Hope you can help me. 1) Are...
18
by: William | last post by:
I have the following javascript function that updates a scroll_list and sends the updated entry (with its index) to a server script ( i.e. http://mkmxg00/cgi/confirmUpload.pl ) for further...
13
by: ScottM | last post by:
I have run into a problem generating the class file via the WSDL utility. I have a WSDL file that was generated by XMLSpy and is able to be read by the Java code utility, but I get the following...
2
by: pranas | last post by:
I'm not a proffessional programmer and I'm asking for your help. I'm using PHP and running Apache server and Mysql database server on my home network computer to serve my web site. My PHP error log...
1
by: jan.loucka | last post by:
I'm developing WinForms application in .NET 2.0 that talks to web service. The automatically generated proxy (reference class) has got methods for both synchronous and asynchronous invocations of...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: 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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
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
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...
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,...

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.