By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,404 Members | 2,512 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,404 IT Pros & Developers. It's quick & easy.

Redirect problem

P: n/a
Hi

I have a page running in a sub folder. In this page I try to redirect to a
page in the Parent (main) root folder of the site like
Response.Redirect("..\staff_login.asp"). The url in the browser
unfortunately translates as;

http://www.mydomian.com/Folder/..%5Cstaff_login.asp

instead of;

http://www.mydomian.com/staff_login.asp

What is the problem and how can I fix it?

Thanks

Regards
Jul 11 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Use a forward slash instead of a backslash.

Ray at work

"John" <Jo**@nospam.infovis.co.ukwrote in message
news:eX**************@TK2MSFTNGP05.phx.gbl...
Hi

I have a page running in a sub folder. In this page I try to redirect to a
page in the Parent (main) root folder of the site like
Response.Redirect("..\staff_login.asp"). The url in the browser
unfortunately translates as;

http://www.mydomian.com/Folder/..%5Cstaff_login.asp

instead of;

http://www.mydomian.com/staff_login.asp

What is the problem and how can I fix it?

Thanks

Regards

Jul 11 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.