|
it
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Redirect problem
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 Use a forward slash instead of a backslash.
Ray at work Show quote "John" <John@nospam.infovis.co.uk> wrote in message news:eXkUMTPpGHA.4760@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 > |
|||||||||||||||||||||||