I have two asp pages. One page accepts a query string, does some work server side, and then does this to spit out an image:
The other page requests this image from the first page. I'm trying to use the ServerXMLHTTP object but it is not displaying the image:
All I get on the page is "????"
What is wrong here?
thanks
ft
Information is not Knowledge, Knowledge is not Wisdom, Wisdom is not Truth, Truth is not Beauty, Beauty is not Love, Love is not Music, Music is the best.
Code:
Response.ContentType = "image/png"
...some work in here...
Response.BinaryWrite(image)
The other page requests this image from the first page. I'm trying to use the ServerXMLHTTP object but it is not displaying the image:
Code:
url="[URL unfurl="true"]http://theurl.com/thepage.asp?id=1"[/URL]
Set objXmlHttp = Server.CreateObject("Msxml2.ServerXMLHTTP")
objXmlHttp.open "GET", url,False
objXmlHttp.send
image = objXmlHttp.responseBody
response.write(image)
All I get on the page is "????"
What is wrong here?
thanks
ft
Information is not Knowledge, Knowledge is not Wisdom, Wisdom is not Truth, Truth is not Beauty, Beauty is not Love, Love is not Music, Music is the best.