Basically, I need to know the answer to this question in asp.net/C#:
source of REQUEST
I would like one of my pages to know which page directed the user to this specific page. I've tried going through intellisense on a few different Page properties, but couldn't find it. Any help?
Sounds like your looking for Request.UrlReferrer
Documentation: HttpRequest.UrlReferrer
The request can be attained off the page:
Page.Request
If a Page instance is not available, you can get it from the current context using:
HttpContext.Current.Request
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With