How to redirect from global.aspx


I want to redirect from global.aspx to another page. How can I achieve this. I tried with following steps, but no effects on this.

1) Response.Redirect("~/login.aspx")
2) Me.Context.Response.Write("window.parent.location.href='login.aspx';")
3) Context.Response.Redirect((DirectCast(Context.Handler,System.Web.UI.Control)).ResolveUrl("~/logout.aspx"))

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!