Link to home
Start Free TrialLog in
Avatar of davelt00
davelt00Flag for United States of America

asked on

xmlhttp

I am trying to read values sent as part of the headers to my classic asp page.

I've created an xmlhttp object with: set xmlHttp = createobject("Microsoft.XMLHTTP")
but can't figure out how to specify which header variable to retrieve.

I've tried:
if xmlhttp.getResponseHeader("SMSSent")<>"" then

but this generates an error.
Is there another method to retrieve this info.

Thank you,

Dave Tucker
Avatar of Michel Plungjan
Michel Plungjan
Flag of Denmark image

Avatar of davelt00

ASKER

Yes, but how to do it within ASP so that after data received, I can post to database.
ASKER CERTIFIED SOLUTION
Avatar of clockwatcher
clockwatcher

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Sorry for the confusion.  I was led in a number of different directions when Googleing this subject a few days ago.  The most likely was  - xmlhttp.getResponseHeader("SMSSent")  - requesting a specific value assigned to a server variable "SMSSent".  However, this only generated an error.

Since then I've spoken to the company sending the data and they assured me that when they said that all data was sent as part of the "headers", they were actually "submitting" their page to me so that I only had to do a request.form("SMSSent") to retrieve the value.  This proved to be true, so I guess that the original question is now moot.

Thanks for your assistance,

Dave Tucker