Two ASP sites using fthe same redirect?

Mark Smith

New member
I got two the same websites in internet and my computer, I want they behaviour the same.

Say, In internet, the site is http://www.mysite/
there is Response.Redirect("/page0.asp") in a page, it will go to http://www.mysite/page0.asp
In my computer, the site is http://127.0.0.1/mysite127/
there is also Response.Redirect("/page0.asp") in a page, but it will go to http://127.0.0.1/page0.asp

How to use the same Redirect sentence in both sites
to redirect to http://www.mysite/page0.asp in site http://www.mysite/
and redirect to http://127.0.0.1/mysite127/page0.asp in site http://127.0.0.1/mysite127/
 
Back
Top