I have a page A and clicking on a link it gets redirected to page B. From page B is it possible to get the url of Page A. Can anyone explain me how I could get this using C#?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You could use the UrlReferrer property of the request. So on Page B:
This being said, the HTTP Referrer header can be spoofed so absolutely do not rely on this to implement any kind of security.