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

Re: Redirect problem by Ray

Ray
Tue Jul 11 09:56:58 CDT 2006

Use a forward slash instead of a backslash.

Ray at work

"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
>