Hi,
I have an iFrame inside a normal dnn page. I need to know the URLReferrer for the Parent page only. Request.URLReferrer.Host gives me the referrence for my aspx page and NOT the URL where my parent page was requested from. Example below:
lets suppose that I have a link for my site on a different site: www.abc.com
- When a user clicks on my link on www.abc.com then they are forwarded to my site: www.xyz.com
- The aspx page on my site that the user is redirected to contains an iFrame.
- I would like to know inside this iFrame (running an asp.net app) the URL of the referrer (which is www.abc.com)
I hope this example helped in understanding my problem. I tried: Parent.page.request.urlreferrer.host but it gives me an "Object reference not set to an instance of ... " error
Thanks
Sajjad