I have an asp page that sends an xml http request to another asp page which sends back some data. In the page sending the request, there is a session variable. The page receiveing the request uses that session variable. However, the page receiving the request is somehow not "getting" the session variable.
I send the request like this:
data is coming back, but the receiving page is not seing the value of the Session Variable. I have checked and the session varible does contain a value.
Do session variables not carry over in xml http requests?
If I put the value of the session variable into the url string, everything is fine.
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.
I send the request like this:
Code:
Set objXmlHttp = Server.CreateObject("Msxml2.ServerXMLHTTP")
objXmlHttp.setTimeouts 0,0,0,20000
objXmlHttp.open "GET", url,False
objXmlHttp.send
If objXmlHttp.status = 200 then
strXml = objXmlHttp.responseText
End if
Do session variables not carry over in xml http requests?
If I put the value of the session variable into the url string, everything is fine.
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.