|
Question |
Rating |
View Answer |
|
What is a variable? |
|
View Answer |
|
What is the function of Buffer in Response Object? |
|
View Answer |
|
Explain the POST & GET Method or Explain the difference between them? |
|
View Answer |
|
What is an .ASP file? |
|
View Answer |
|
What is the difference between Querystring collection and Form collection? |
|
View Answer |
|
What programming model is ASP based on? Advantages of using interfaces for data access? What does connection.execute,connection.open do? Set application(”varname”)=session what happens here? How do you define disconnected Recordset in ASP? If ActiveCommand property not set in ASP what happens? Application_start,session_start session_end application_end Is the order important? What is 1 mod 2? |
|
View Answer |
|
What are the special sub-types in VBScript?
|
|
View Answer |
|
What is the difference between Cookies collection and Form/Query string collection?
|
|
View Answer |
|
What is IIS? |
|
View Answer |
|
How to Create a Cookie? |
|
View Answer |
|
I'm not that great with ASP , But I am trying to send The request through HTTP post as a value of a parameter called Request. Here the sample :
xmlString = “Request=<?xml version="1.0" encoding="UTF-8" standalone="yes"?><VerificationRequest>< ID>XYZ</ID><Key>jhutry</Key><UID>6276109478228235</UID ></VerificationRequest>”
I Used Msxml2.ServerXMLHTTP.6.0 Method but I got the error “Invalid at the top level of the document” . When I omit the Parameter Request from xmlString, it’s worked But I need to send this Parameter through HTTP post for get the right answer.
Can someone Help me how can I make it done. This is the code that I used ,
Set SendDoc = server.createobject("Microsoft.XMLDOM") SendDoc.ValidateOnParse= True SendDoc.LoadXML(xmlString) url = https://www.my test site.com/checkID Set poster = Server.CreateObject("Msxml2.ServerXMLHTTP.6.0")
poster.open "POST", url, false poster.setRequestHeader "CONTENT_TYPE", "text/xml" poster.send SendDoc
Set docReceived = server.createobject("Microsoft.XMLDOM") docReceived.ValidateOnParse= True docReceived.LoadXML(poster.responseTEXT)
Thanks, Shahriar |
|
View Answer |
|
What is a Form collection?
|
|
View Answer |
|
What are LOCAL and GLOBAL variables? |
|
View Answer |
|
What is the command to display characters to the HTML page? |
|
View Answer |
|
What is Response Object? |
|
View Answer |
|
What is the Order of precedence for LOGICAL Operators ? |
|
View Answer |