tags:

views:

122

answers:

1

I have two web applications in the same server like this:

/basedir/app1path/default1.aspx

/basedir/app2path/default2.aspx

How can I redirect form default1.aspx to default2.aspx?

+3  A: 

In code-behind:

Response.Redirect("/basedir/app2path/default2.aspx", false);

(The false prevents a ThreadAbortException getting thrown by the redirect)

Or using a 301 server redirect?

Richard Ev