How do I redirect to another web application on the same server?

I have two web applications on the same server:

/basedir/app1path/default1.aspx

/basedir/app2path/default2.aspx

      

How can I redirect the form default1.aspx

to default2.aspx

?

+1


source to share


1 answer


In encoding:

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

      



( false

prevents hit ThreadAbortException

by redirection)

Or with a 301 server redirect?

+3


source







All Articles