there should be a location header included with the first response containing the second URL

cfhttp.responseHeader[location]


Mark



I need to grab the URL of a page.

The page is sent to me as a URL of an internal web server which does a redirect on to the external web site. Don't ask..

I need to capture as a variable the resulting external web address.


e.g.


The page comes in as http://internal.xyz.com/techitem.html?id=546789

Click and it takes you to:


http://www.xyz.com/techman/support.html?st=65432


Note the total lack of correlation between the two number variables.

However, what I need to do is grab the resulting final URL above as a variable.

Any suggestions? I can not see any clear way to do this using CFhttp and it is a Friday night!

Thanks

Gordon


-- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]


--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]



Reply via email to