This is my first post and as you understand I am a newbe!
I am about to change a hosting provider but i face some timeouts problems with the new one.
I am programming in classic ASP and I know that this is a ASP.NET forum but I am desparate and i hope that someone could help me!
In some of my pages I connect to a remote server and retrieve a XML data which either store in a file or diplay on screen.
Sometimes, the requested data are a lot of MB and the remote server delays to respond.
In my old hosting i found a solution not to keep the connection alive with the command:
However, the new hosting server is not paying attention to this command and the server breaks the connection after 30 seconds!! In fact, the error message is "No suitable nodes are available to serve your request."
The code I use is:
I contacted my hosting provider to help me out and they said : " If a client connection does not receive a response from the server after approximately 30 to 60 seconds the load balancer will close the connection and the client will immediately receive the
error message. "
They adviced me to create a progress bar that could keep the connection alive and they suggested me the following link :
http://www.xmlx.net/software/2005/08/anatomy_of_a_pr.html
However, this link is for ASP.NET with which I am not familiar at all!
I tried hard to extend the connection time limit but i could't make it!
Do you have any ideas abou my problem?!
I would really appreciate it!
giota2686
0 Points
1 Post
XMLHTTP connection timeouts after 30 sec.
Dec 14, 2009 07:35 AM|LINK
Hello!
This is my first post and as you understand I am a newbe!
I am about to change a hosting provider but i face some timeouts problems with the new one.
I am programming in classic ASP and I know that this is a ASP.NET forum but I am desparate and i hope that someone could help me!
In some of my pages I connect to a remote server and retrieve a XML data which either store in a file or diplay on screen.
Sometimes, the requested data are a lot of MB and the remote server delays to respond.
In my old hosting i found a solution not to keep the connection alive with the command:
I contacted my hosting provider to help me out and they said : " If a client connection does not receive a response from the server after approximately 30 to 60 seconds the load balancer will close the connection and the client will immediately receive the error message. "
They adviced me to create a progress bar that could keep the connection alive and they suggested me the following link :
http://www.xmlx.net/software/2005/08/anatomy_of_a_pr.html
However, this link is for ASP.NET with which I am not familiar at all!
I tried hard to extend the connection time limit but i could't make it!
Do you have any ideas abou my problem?!
I would really appreciate it!