ASP.NET discrete querystrings

Discussion in 'ASP .Net' started by seanmatthewwalsh@hotmail.com, May 13, 2008.

  1. Guest

    Hi

    Is there a way to use querystring links that don't look like typical
    querystrings?

    E.g. say I have a blog where the unique title of an article is "Dollar
    set to strengthen", and which has a PostID of 101. I can obviously
    have a URL such as:
    http://www.myblog.com/?t=dollar set to strengthen
    which then checks the t item against the title in the database.

    BUT, is it possible to do it without the usual ?t= part?

    i.e. I would like it to look something like this:
    http://www.myblog.com/dollar set to strengthen/

    Is there ANY way to get that text down into a default page? I'm sure
    I've seen it done on other blogs, not sure how you could implement it
    in ASP .NET

    Thanks
    Sean
     
    , May 13, 2008
    #1
    1. Advertising

  2. Joe Fawcett Guest

    <> wrote in message
    news:...
    > Hi
    >
    > Is there a way to use querystring links that don't look like typical
    > querystrings?
    >
    > E.g. say I have a blog where the unique title of an article is "Dollar
    > set to strengthen", and which has a PostID of 101. I can obviously
    > have a URL such as:
    > http://www.myblog.com/?t=dollar set to strengthen
    > which then checks the t item against the title in the database.
    >
    > BUT, is it possible to do it without the usual ?t= part?
    >
    > i.e. I would like it to look something like this:
    > http://www.myblog.com/dollar set to strengthen/
    >
    > Is there ANY way to get that text down into a default page? I'm sure
    > I've seen it done on other blogs, not sure how you could implement it
    > in ASP .NET
    >
    > Thanks
    > Sean

    It can be done in a number of ways, try searching for URL rewriting and
    asp.net.

    --

    Joe Fawcett (MVP - XML)

    http://joe.fawcett.name
     
    Joe Fawcett, May 13, 2008
    #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. ALPO
    Replies:
    1
    Views:
    370
    Steve C. Orr [MVP, MCSD]
    Nov 15, 2003
  2. Rob Meade

    Securing/Encrypting QueryStrings

    Rob Meade, Jan 22, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    374
    Rob Meade
    Jan 22, 2004
  3. Replies:
    11
    Views:
    749
    Danny Tuppeny
    Oct 29, 2005
  4. Replies:
    0
    Views:
    671
  5. .Net Sports
    Replies:
    2
    Views:
    767
Loading...

Share This Page