Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Redirect problem

Reply
Thread Tools

Redirect problem

 
 
John
Guest
Posts: n/a
 
      07-11-2006
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


 
Reply With Quote
 
 
 
 
Ray Costanzo [MVP]
Guest
Posts: n/a
 
      07-11-2006
Use a forward slash instead of a backslash.

Ray at work

"John" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Response.redirect does not redirect from .aspx page =?Utf-8?B?VHJveQ==?= ASP .Net 3 10-15-2008 09:07 PM
cisco cra/ivr call redirect problem Andrew Pasetti Cisco 0 09-08-2004 05:34 PM
Redirect to secure FTP site via response.redirect Ron Howard ASP General 2 08-11-2004 07:40 PM
Basic Q - Response.Redirect, all redirect to first Response.Redirect statement Sal ASP .Net Web Controls 1 05-15-2004 03:46 PM
setting cookie then redirect problem bagsmode Perl 2 07-28-2003 10:16 PM



Advertisments