locked
[vb.net] Is there a way to remove a querystring in the URL (address bar)? RRS feed

  • Question

  • User1555919309 posted

    Example:

    Click link on Page A and redirect to Page B. The link on the Page A is "www.someURL.com?sort=2". 

    Then on the page B, there is a dropdown sorts the page. When I switch values on the dropdown, page reloads and shows the items in different orders. However the URL is not changing. It is still “www.someURL.com?sort=2”.  I want to remove the ?sort=2 after reload. 

    What should I do? Thanks.

    Monday, March 8, 2021 8:48 PM

All replies