Subject: Redirect from a folder to another page.
Posted By: maggiefeng Post Date: 12/13/2006 6:29:08 PM
How can I Redirect a folder to another page. Like this:
Under folder USA, a sub-folder called ADMIN, under ADMIN, there is a page called Default.asp which contain response.redirect("http://other.asp")

How can I every time type in, FOR EX:
Http://USA.com/ADMIN,

it will redirect me to http://other.asp

Thank you in advance.

Reply By: maggiefeng Reply Date: 12/13/2006 6:36:32 PM
I am silly. I already made it successfully before I sent out the email. I just look from the different routine. Thanks guys.

One Response.redirect will work fine.

Reply By: mat41 Reply Date: 12/13/2006 6:38:34 PM
;;;How can I Redirect a folder to another page
mmmmmm, thats confusing - you can re-direct a page inside a folder to another page

Where does other.asp sit?

[usa] > [admin] - default.asp

if other.asp is inside the [usa] folder:

response.redirect("../other.asp") should do it.  Hope I have understood your question?

Wind is your friend
Matt

Go to topic 42347

Return to index page 94
Return to index page 93
Return to index page 92
Return to index page 91
Return to index page 90
Return to index page 89
Return to index page 88
Return to index page 87
Return to index page 86
Return to index page 85