This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Microsoft XML > August 2005 > xml.send not working suddenly





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author xml.send not working suddenly
Vanessa

2005-08-24, 8:04 pm

My script is on ASP with XML is working fine with no problem. But when I
reload the pages couple times (certainly with difference input), it stops
working, and my broswer just keep on showing "loading" at the status bar. I
found out my script is got stucked at this line: xml.send. But it started
working again after like 30mins or 40mins without changing anything at the
script. So I wonder what's happened? I can't figure it out! Please help me
on this. I don't think it is my script's problem cause it is working
properly, not until after reload couple times or so. Here is portion of my
script:

PostURL = xmllink & "xml/mac_sstatus_customer.asp"
Response.Buffer = True
Set XML = Server.CreateObject("Microsoft.XMLHTTP")
xml.Open "POST", PostURL, False,"",""
xml.Send --> got hold off at here
getcustomXML = xml.responseText
Set XML = Nothing

Vanessa

2005-08-29, 7:27 pm

hi everyone, I still have the same problem today! Please help me on this.

I searched around the Internet and find out there's any way of calling XML
object, so I gave it a try by
changing from:
Set XML = Server.CreateObject("Microsoft.XMLHTTP")
to:
Set XML = Server.CreateObject("MSXML2.ServerXMLHTTP")

and it's works! But Microsoft.XMLHTTP is working properly before. So my
question is-- is that any connection limitation on Microsoft.XMLHTTP? Cause
it seems like after couple connection, it stops working and have to wait half
hour or so in order to work again. Please help!

"Vanessa" wrote:

> My script is on ASP with XML is working fine with no problem. But when I
> reload the pages couple times (certainly with difference input), it stops
> working, and my broswer just keep on showing "loading" at the status bar. I
> found out my script is got stucked at this line: xml.send. But it started
> working again after like 30mins or 40mins without changing anything at the
> script. So I wonder what's happened? I can't figure it out! Please help me
> on this. I don't think it is my script's problem cause it is working
> properly, not until after reload couple times or so. Here is portion of my
> script:
>
> PostURL = xmllink & "xml/mac_sstatus_customer.asp"
> Response.Buffer = True
> Set XML = Server.CreateObject("Microsoft.XMLHTTP")
> xml.Open "POST", PostURL, False,"",""
> xml.Send --> got hold off at here
> getcustomXML = xml.responseText
> Set XML = Nothing
>

Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews