0

Well i have to disable some controls on my site if it is opened from a particular website otherwise they should remain enabled.

for that i need to know from where have user been redirected to my site so that i can apply necessary filter conditions like

protected void Page_Load(object sender, EventArgs e)
{
     if(fromthisSite)
    {
        //....disable some controls
    }
    else
    {
       //.. do nothing
    }
}

Thanks

abhi_awake
  • 186
  • 1
  • 8

1 Answers1

0

You should use Request.UrlReferrer

omriman12
  • 1,644
  • 7
  • 25
  • 48