How to redirect from global.aspx - Programmers Heaven

Howdy, Stranger!

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

Categories

How to redirect from global.aspx

visweswaran28visweswaran28 Posts: 7Member
Hi,

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.