Response.Redirect Problem

Jul 31, 2008 at 11:17 AM
hi all,
i am facing problem when i  am redirecting page from codebehind file using Response.redirect("Page2.aspx");it not changing facebook root URL . Any one please Help me out
Jul 31, 2008 at 1:43 PM
If you are using FBML there is tag "Fb:redirect"

You can use something like: Response.Write("<fb:redirect url="" />")

Hope this helps
Jul 31, 2008 at 3:37 PM
Thanks domagoj,
but i am not using FBML , i am using Iframe .

Aug 1, 2008 at 5:29 PM
The problem is that you're trying to redirect within an iframe. Any movement between pages in an iframe is going to take place in that iframe and not change the page's URL unless you specify a target somehow. One way to accomplish this is to Response.Write("<script>window.location.href=''</script>"); There may be other ways but I don't know enough about your requirements to suggest them.