Preserving the original URL in address bar after a redirect.

Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default Preserving the original URL in address bar after a redirect.

    I was browsing the web the other day and a website I had a look at
    redirected you to a different webpage but still preserved the original
    URL that was typed in the address bar on the browser (it didn't move
    or change at all) How is that possible? I would like to do something
    similar.

    The reason I am asking is because I want visitors to view a profile of
    a user like this

    myweb.com/fred

    this would have to be translated and redirected to
    mysite.com/profiles.asp?user=fred

    but I want the original URL address to stay showing in the address bar

    myweb.com/fred

    Lee
    Lee Farrant Guest

  2. Similar Questions and Discussions

    1. redirect to guest if first redirect is doesnt work for a user
      Hi all, I was wondering if anyone could help me solve a problem Once a user hits a certain webpage ..I try to redirect them to another using...
    2. Open File from URL and get its address due to redirect
      Im trying to make something like google. It opens a page, finds all the links and then follows them links. The problem with somepages is that they...
    3. Finding original client's IP address when using a router
      AFAIK no. Not a network expert but AFAIK some hardware is able to translate the IP in both directions to hide the real client IP. The IP isliekly to...
    4. Free Original copy of Never Winter Nights for Linux going! (and its original)
      Hi, Yes you read the title correctly, being a complete idiot I ordered 2 copies of nwn from tuxgames, I could of sent it back, but I went on...
    5. Redirect to New Browser Window like Response.Redirect
      That worked just fine for me as long as you put that open statement on one line rather than 2. "michel" <michely3k@yahoo.com> wrote in...
  3. #2

    Default Re: Preserving the original URL in address bar after a redirect.

    It's called "masking"..... check your IIS documentation for info.

    --
    Regards

    Steven Burn
    Ur I.T. Mate Group
    [url]www.it-mate.co.uk[/url]

    Keeping it FREE!

    Disclaimer:
    I know I'm probably wrong, I just like taking part ;o)


    Lee Farrant <leefarrant@hotmail.com> wrote in message
    news:97ad5817.0312240355.65b1693e@posting.google.c om...
    > I was browsing the web the other day and a website I had a look at
    > redirected you to a different webpage but still preserved the original
    > URL that was typed in the address bar on the browser (it didn't move
    > or change at all) How is that possible? I would like to do something
    > similar.
    >
    > The reason I am asking is because I want visitors to view a profile of
    > a user like this
    >
    > myweb.com/fred
    >
    > this would have to be translated and redirected to
    > mysite.com/profiles.asp?user=fred
    >
    > but I want the original URL address to stay showing in the address bar
    >
    > myweb.com/fred
    >
    > Lee

    Steven Burn Guest

  4. #3

    Default Re: Preserving the original URL in address bar after a redirect.

    Lee,
    Thank you for cross-posting instead of multiposting, but I do not understand
    why you thought that .asp.db was an appropriate newsgroup for this question.
    It's got nothing to do with databases. You may have thought that you were
    enhancing your chances of getting an answer, but most of us regulars
    subscribe to both of these groups, so instead of making sure you got an
    answer, all you did was mildly annoy people who had to look at the same
    message twice.

    There are times when posting to multiple groups is appropriate. This does
    not seem to be one of them.

    Bob Barrows (posting from microsoft.public.inetserver.asp.db)

    --
    Microsoft MVP - ASP/ASP.NET
    Please reply to the newsgroup. This email account is my spam trap so I
    don't check it very often. If you must reply off-line, then remove the
    "NO SPAM"


    Bob Barrows Guest

  5. #4

    Default Re: Preserving the original URL in address bar after a redirect.



    Thanks for the info Steve

    Barry

    Cross posting was a mistake on my part. Both cross posting and using an
    incorrect group.

    Sorry about that.

    Lee


    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    Lee Farrant Guest

  6. #5

    Default Re: Preserving the original URL in address bar after a redirect.

    Steven,

    I did not mean to put a different web address in my example, its
    actually the same website.

    Is it still masking in this case?

    I am kind of masking the page rather than a different domain.

    Lee


    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    Lee Farrant Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139