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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Microsoft.XMLHTTP and local path

Status
Not open for further replies.

sergeiY

Programmer
Feb 13, 2003
132
AU
Hi

I am trying to do the following:
Code:
Set objXml = Server.CreateObject("Microsoft.XMLHTTP")
' Opens the connection to the remote server.
objXml.Open "GET", "emailOutput.asp", False
' Actually Sends the request and returns the data:
objXml.Send

it gives me an error...

I know that it will work with full url path like but it looses a cookey

Ok here is my problem:

I have a session cookiy via this cookie I am getting session data out of DB. This page I want to get HTML from is a template that extracts session data (and formtats it) using this session cookie. Then I feed this data (html) to my e-mail component and send as HTML e-mail. When I specify full url it can't find that cookie and fails to load data out ...

So my question is this: is there any way I can make a http call or any other call that will execute ASP template under context of current user and also be able to grab HTML after?
 
You could try to use Server.Transfer
Not shure will work between 2 domains.

________
George, M
 
shaddow thank you for your responce

given tight timeline I had to abandon this solution and do it a quick way ...

Sergei
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top