Redirect problem

Discussion in 'ASP General' started by John, Jul 11, 2006.

  1. John

    John Guest

    John, Jul 11, 2006
    #1
    1. Advertising

  2. Use a forward slash instead of a backslash.

    Ray at work

    "John" <> wrote in message
    news:...
    > 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/..\staff_login.asp
    >
    > instead of;
    >
    > http://www.mydomian.com/staff_login.asp
    >
    > What is the problem and how can I fix it?
    >
    > Thanks
    >
    > Regards
    >
    Ray Costanzo [MVP], Jul 11, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. bagsmode
    Replies:
    2
    Views:
    5,498
    bagsmode
    Jul 28, 2003
  2. Jay
    Replies:
    2
    Views:
    337
    Hermit Dave
    Jan 26, 2004
  3. =?Utf-8?B?VHJveQ==?=

    Response.redirect does not redirect from .aspx page

    =?Utf-8?B?VHJveQ==?=, Oct 18, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    5,235
    Srowe1975
    Oct 15, 2008
  4. Sal
    Replies:
    1
    Views:
    406
  5. Ron Howard
    Replies:
    2
    Views:
    518
    Ron Howard
    Aug 11, 2004
Loading...

Share This Page