Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Response.Redirect Question

Status
Not open for further replies.

Slonoma

Programmer
Jul 10, 2003
41
US
Hi All,
Can anyone tell me how to redirect to a page that is in a directory above the current directory?

For example:

Currently at /pages/thisfolder/thatfile.aspx

want to redirect to /pages/thisfile.aspx

Thanks!
Slo-No

The trouble with programmers is that they get high on their own supply. -Dimandja
 
this should do it...

response.redirect "\pages\thisfile.aspx"

you can also try

Server.Transfer "\pages\thisfile.aspx"

-DNG
 
Worked great! Thanks!

The trouble with programmers is that they get high on their own supply. -Dimandja
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top