You should be able to do that with the
setRequestHeader method something like this (not tested, just from docs)
ck = Request.ServerVariables("HTTP_COOKIE")
set xmlhttp = CreateObject("MSXML2.ServerXMLHTTP")
xmlhttp.open "GET", url, false
xmlhttp.setRequestHeader "Cookie",ck
xmlhttp.send ""
--
--Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com
<ch***************@gmail.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
I'm having the same problem... where do you set the aspsessionid to the
xmlhttp obj? right before the send? and what property do you set.. i
couldnt find a object model anywhere =/
Manohar Kamath wrote: The XMLHttp component is now the "client" for your ASP page, and not
the browser.
One way to get around is to retrieve the ASPSESSIONID cookie from the
browser, and set it in your code for the XMLhttp component. This way,
both browser and the XMLHttp component are using the same ASSPSESSIONID
cookie to talk to the ASP pages, and hence maintain the session.