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?
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?
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?