Click here to Skip to main content
15,888,142 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
As i am new to web application and I have an link on a website (say on ABC.com) when a user click on this link it is redirected to another website (say XYZ.com).

I want to find the Url of ABC.com on the Page Load of XYZ.com.

How we can find it also in the case of when the websites is running on the localhost too..
Posted

1 solution

Use UrlReferrer property from Request context. It will give you the referrer URL from where request is come on destination page.
 
Share this answer
 
Comments
Mayank Cool 27-Mar-14 4:28am    
Thanks...it will works @VishalKadiwala

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900