Re: HXMLHttp.Status =500
- From: "Dave Anderson" <NPQRWPDWZGSP@xxxxxxxxxxxxx>
- Date: Mon, 10 Mar 2008 12:23:07 -0500
Neo wrote:
xmlHttp.open("POST", "test.aspx?ProjectId=" + "4000381" ,
true );
Are you certain that you want an asynchronous call?
xmlHttp.send(null);
The request body is optional. If you have no body, don't send null;
xmlHttp.send() is sufficient. And if it's empty, whay are you using POST?
alert("xmlHttp.status = " + xmlHttp.status);
When you say you get a 500 error, do you mean that you get this alert?
More info on the XMLHTTP interface:
http://msdn2.microsoft.com/en-us/library/ms760305(VS.85).aspx
--
Dave Anderson
Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms.
.
- References:
- HXMLHttp.Status =500
- From: Neo
- HXMLHttp.Status =500
- Prev by Date: Re: HXMLHttp.Status =500
- Next by Date: Re: HXMLHttp.Status =500
- Previous by thread: Re: HXMLHttp.Status =500
- Next by thread: Re: HXMLHttp.Status =500
- Index(es):