I\'m running an c# .net app in an iframe of an asp page on an older site. Accessing the Asp page\'s session information is somewhat difficult, so I\'d like to make my .net a
parent.location.href
top.location.href
But that will only work if both pages (the iframe and the main page) are being served from the same domain.
To get the URL:
Request.UrlReferrer....
To digest the query string:
NameValueCollection qs = HttpUtility.ParseQueryString(Request.UrlReferrer.Query);