SendRequest

Aug 14, 2007 at 8:30 PM
hi,

sending request is working. the issue i am having is when user click button on cunfirm page i am loosing iframe.
the url redirect user to http://www.mydomain.com/facebookapp.
below is the code i am using.

_return = fbService.SendRequest(fbml, _toList, "application", _img, true);
if (_return .Length > 0)
{
Response.Write("<script type=\"text/javascript\">\nif (parent != self) \ntop.location.href = \"" + _r + "&next=" + Server.UrlEncode("?next=default.aspx") + "\";\nelse self.location.href = \"" + _r + "&next=" + Server.UrlEncode("?next=default.aspx") + "\";\n</script>");
Response.End();
}

thanks