Can I get the (fake) URL after rewriting it?

Discussion in 'ASP .Net' started by Alan Silver, Aug 2, 2005.

  1. Alan Silver

    Alan Silver Guest

    Alan Silver, Aug 2, 2005
    #1
    1. Advertising

  2. Alan Silver

    Scott Allen Guest

    Scott Allen, Aug 2, 2005
    #2
    1. Advertising

  3. Alan Silver

    Alan Silver Guest

    >Hi Alan:
    >
    >Request.RawUrl should give you the original.


    Thanks ;-)

    The framework is great, I just wish there was some easy way to find your
    way around it!! I reckon you need to start learning it in your crib to
    be able to get to know it well.

    >--
    >Scott
    >http://www.OdeToCode.com/blogs/scott/
    >
    >On Tue, 2 Aug 2005 15:12:09 +0100, Alan Silver
    ><> wrote:
    >
    >>Hello,
    >>
    >>If I use URL rewriting, so the user types in an URL like...
    >>
    >>http://www.domain.com/user_fred.aspx
    >>
    >>and this is quietly converted to...
    >>
    >>http://www.domain.com/users.aspx?user=fred
    >>
    >>then from the users.aspx page, can I find out what the original URL was?
    >>
    >>TIA

    >


    --
    Alan Silver
    (anything added below this line is nothing to do with me)
     
    Alan Silver, Aug 2, 2005
    #3
    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. Juha Borenius

    URL rewriting

    Juha Borenius, Aug 14, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    475
    Colin Young
    Aug 15, 2003
  2. Showjumper
    Replies:
    3
    Views:
    402
  3. Gaurav  Agarwal
    Replies:
    2
    Views:
    747
    Gaurav Agarwal
    Jan 31, 2005
  4. =?Utf-8?B?cmFwaWRkYXRh?=

    url rewriting with no extension in url

    =?Utf-8?B?cmFwaWRkYXRh?=, Nov 1, 2006, in forum: ASP .Net
    Replies:
    8
    Views:
    417
    Flinky Wisty Pomm
    Nov 2, 2006
  5. bwv549
    Replies:
    2
    Views:
    169
    bwv549
    Nov 11, 2005
Loading...

Share This Page