Help trimming URL path

Discussion in 'ASP .Net' started by =?Utf-8?B?Q2hyaXM=?=, Dec 14, 2004.

  1. =?Utf-8?B?Q2hyaXM=?=, Dec 14, 2004
    #1
    1. Advertising

  2. Emre Guldogan, Dec 14, 2004
    #2
    1. Advertising

  3. =?Utf-8?B?Q2hyaXM=?=

    Karl Seguin Guest

    Karl Seguin, Dec 14, 2004
    #3
  4. Thanks Carl. Where can I find info on manupulating the Request.Url object.

    Thanks

    "Karl Seguin" wrote:

    > Try Request.Url.Segments(Request.Url.Segments.Length - 1)
    >
    > Karl
    >
    > --
    > MY ASP.Net tutorials
    > http://www.openmymind.net/
    >
    >
    > "Chris" <> wrote in message
    > news:...
    > > Hi,
    > > I have the follwing url
    > >
    > > http://localhost/testsite/test/webform1.aspx?cat=dog
    > >
    > > Is there a function available in the request.url object to return only the
    > > webform1.aspx or even /webform1.aspx?
    > >
    > > Thanks

    >
    >
    >
     
    =?Utf-8?B?Q2hyaXM=?=, Dec 14, 2004
    #4
  5. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/urlrewriting.asp

    http://msdn.microsoft.com/library/d...ml/frlrfSystemWebHttpRequestClassUrlTopic.asp





    Juan T. Llibre
    ===========
    "Chris" <> wrote in message
    news:...
    > Thanks Carl. Where can I find info on manupulating the Request.Url object.
    >
    > Thanks
    >
    > "Karl Seguin" wrote:
    >
    >> Try Request.Url.Segments(Request.Url.Segments.Length - 1)
    >>
    >> Karl
    >>
    >> --
    >> MY ASP.Net tutorials
    >> http://www.openmymind.net/
    >>
    >>
    >> "Chris" <> wrote in message
    >> news:...
    >> > Hi,
    >> > I have the follwing url
    >> >
    >> > http://localhost/testsite/test/webform1.aspx?cat=dog
    >> >
    >> > Is there a function available in the request.url object to return only
    >> > the
    >> > webform1.aspx or even /webform1.aspx?
    >> >
    >> > Thanks

    >>
    >>
    >>
     
    Juan T. Llibre [MVP], Dec 14, 2004
    #5
    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. Steve C. Orr, MCSD

    Re: Trimming Blank Spaces in String

    Steve C. Orr, MCSD, Aug 9, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    467
  2. William Mild
    Replies:
    2
    Views:
    920
    William Mild
    Oct 23, 2003
  3. Thomas Guettler
    Replies:
    3
    Views:
    761
    Andrei
    Oct 27, 2003
  4. Alexj
    Replies:
    0
    Views:
    795
    Alexj
    Feb 23, 2010
  5. Simon
    Replies:
    2
    Views:
    117
    Evertjan.
    Oct 28, 2004
Loading...

Share This Page