Link to home
Start Free TrialLog in
Avatar of robrodp
robrodpFlag for Mexico

asked on

Redirected link

I have a linkto a website that redirects to another website. How can I  get the final linkm progarmmmig in asp?

Say original link is;

http.//original.com/index.html

redirected site is; http://redirected.com/new.html

I need a function that will cacth the redirection link

Any ideas?
ASKER CERTIFIED SOLUTION
Avatar of zephyr_hex (Megan)
zephyr_hex (Megan)
Flag of United States of America image

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
Avatar of Julian Hansen
I don't understand what you are asking.

If you have a link that goes to index.html - how does your ASP script fit into the picture?

Will the ASP script be making the request to index.html?

Can you explain a bit more how this hangs together.
Avatar of robrodp

ASKER

This worked okay thanks