Trim/Replace URL String help needed please

Discussion in 'ASP' started by AndyJay2011, Jun 15, 2011.

  1. AndyJay2011

    AndyJay2011 New Member

    Joined:
    Jun 15, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    Hi all......
    Can anyone help me out with this one please?
    I have a results page that displays products in order of product name.
    I have a dropdown menu with three order options (price low, price high and manufacturer).
    I want to be able to select an option and have the page display the products by one of the three order options.
    So far i've created a DIM for the dropdown menu value. The DIM requests the Querystring which is the url for the results page like:

    results.asp?menuselect=e&CategoryID=30

    I then want to 'tag' the dropdown menu value on the end of this url when an option is selected and the page is submitted to itself

    Bearing in mind the new url will be something like:

    results.asp?menuselect=e&CategoryID=30&sortby=pricehigh

    I will need to be able to replace anything after the sortby= with the new menu option value if the visitor changes the order.

    Hope that makes some kind of sense :)

    Thanks in advance
    Andy
     
  2. AndyJay2011

    AndyJay2011 New Member

    Joined:
    Jun 15, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    No replies yet.
    Does anyone understand what i'm trying to acheive? :)

    Thanks
    Andy
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice