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

httpWebResponse not being triggered

Hi all,

I have an asp.net web application which is used for file uploading.
Upon file upload the file is:
1) validated
2) converted to xml
3) the xml is sent via a httpWebRequest to another web server
4) a response is received
5) a text box on the web page is updated with any error messages and
6) an email is sent to our admin user to say a file has been uploaded
This is all done in VB.Net.
The problem I seem to be having is thus: the text box on the web page
does not always update even though the processing has got as far as
sending the admin email (ie it skips step 5). This leaves the person
who uploaded thinking that the file is still uploading and he/she could

then be sat there for quite a while waiting for a response.
Does anybody have any ideas why this may be happening?
Also when the web request does eventually timeout I get the "Would you
like to display non-secure items?" message and any response causes an
error on the page.
To me it sounds as if the page is still waiting for the response (4)
even though it has been received and processed. Are there any triggers

that I can put in to ensure that the page realises the it no longer
needs to wait for the response?
Cheers
Lee

Feb 8 '06 #1
1 888
Thus wrote DaviesL,
Hi all,

I have an asp.net web application which is used for file uploading.
Upon file upload the file is:
1) validated
2) converted to xml
3) the xml is sent via a httpWebRequest to another web server
4) a response is received
5) a text box on the web page is updated with any error messages and
6) an email is sent to our admin user to say a file has been uploaded
This is all done in VB.Net.
The problem I seem to be having is thus: the text box on the web page
does not always update even though the processing has got as far as
sending the admin email (ie it skips step 5). This leaves the person
who uploaded thinking that the file is still uploading and he/she
could

then be sat there for quite a while waiting for a response.

Does anybody have any ideas why this may be happening?

Also when the web request does eventually timeout I get the "Would you
like to display non-secure items?" message and any response causes an
error on the page.

To me it sounds as if the page is still waiting for the response (4)
even though it has been received and processed. Are there any
triggers

that I can put in to ensure that the page realises the it no longer
needs to wait for the response?


It would be useful to have a look at your code, otherwise it'll be all just
guesswork ;-)

Cheers,
--
Joerg Jooss
ne********@joergjooss.de
Feb 9 '06 #2

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

Similar topics

0
by: Denny Rue | last post by:
I’ve created VB code to download files from a web site through the use of HTTPWebRequest, HTTPWebResponse and BinaryReader. The HTTPWebRequest has a TimeOut property to limit how long it waits...
0
by: hlabbott | last post by:
Hi I'm having a problem displaying attachments correctly. I have messages with attachments stored on Exchange2000 and want to be able to click a hyperlink in my project like in OWA and see an...
0
by: Nathan | last post by:
This is a copy of a message at microsoft.public.dotnet.framework.clr: THE CODE: I'm using an HttpWebResponse object to send an HTTP POST to a Java server I have written and are running on the...
5
by: Nathan | last post by:
This is a copy of a message at microsoft.public.dotnet.framework.clr: THE CODE: I'm using an HttpWebResponse object to send an HTTP POST to a Java server I have written and are running on the...
2
by: Nuno Magalhaes | last post by:
In pages that there is no content length, how does HttpWebResponse knows where the page ends? And what kind of objects/methods does it retrieve? Does it only retrieve the initial page without any...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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...
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.