Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XML.HTTP object - Asynchronous & synchronous call

Status
Not open for further replies.

ddewan

IS-IT--Management
Jan 16, 2002
5
US
Set oXHttp = CreateObject("Microsoft.XMLHttp")
oXHttp.Open "POST","ProcessSearchRequest.asp",True/False

Open method can be a asynchronous call if we specify True as the 2nd parameter of the open method , and synchronous .. if we specify false. I'm using synchronousing calling mechanism and so I check the Ready State of the xml document. I get inconsistent database results when i do this, meaning someyimes i get the results back and sometimes i donnot. I'm doing a database query in the ProcessSearchRequest.asp page. When i specify True, ther resulst are always consistent. Can anybody help me with this...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top