can anyone help me with some example code giving me the ability to grab text from the redirected page
I use the following where s is defined as a string to grab a web page
s := IdHTTP1.Get(' http://www.microsoft.com/tt'
if I go to an imagininary micorosft page that does not exist such as http://www.microsoft.com/tt
-it redirects to a page not found web page, I can catch the response code from the server using idhttp1. ResponseCode idenifying the web page has been reidrected.
what I want to do is grab the text on that redirected page and if possilbe grab the url. All I know is the code will be in the onrediect event for idhttp1.
thanks in advance