0

Is it possible to determine if the current request for a given site is actually from a domain setup to forward with masking? I've tried the following but they all return information about the 'actual' URL:

  • Request.Url.DnsSafeHost
  • Request.Url.AbsolutePath
  • Request.Url.AbsoluteUri
  • Request.Url.Host
  • Request.Url.OriginalString

Thanks.

fordareh
  • 2,923
  • 2
  • 26
  • 39

1 Answers1

0

Try looking at the UrlReferrer property for a known domain that would be doing the masking:

Request.UrlReferrer
Brad Bamford
  • 3,783
  • 3
  • 22
  • 30