PDA

Click to See Complete Forum and Search --> : Where am I being redirected to?


bob323
Oct 19th, 2002, 11:27 PM
Ok I want to get the url in a string of the page that I am being redirected to when I go to a certain webpage.

Like lets say when I go to www.google.com, I instantly get redirected to www.google.ca, I want to have a string that is string location = "www.google.ca";

Any ideas?

Musician
Oct 20th, 2002, 01:54 PM
Unless goolgle uses client side code to redirect you you can't find out becuase when you request www.google.com and it's redirected from the server then your request gets returned www.google.ca or www.google.ie in my case :)