Re: HXMLHttp.Status =500

Tech-Archive recommends: Fix windows errors by optimizing your registry



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.


.