Anyone can help with a problem? I have a page named e.g: search.asp?id=firms&location=Texas&dated=today. And i write "Location: Texas" from the "Location: <%=Request("location")%>" and put a button next to it named, "Unfilter" and this button or so to say an a href link is to remove the "location" variable from the Query_String. Or the same thing should work for "dated" variable as well. This is something like filtering the criteria of the searches. I hope i explained it clearly... Can anyone help me to remove just a specific variable from a Query_String and leave the rest of the query as it is?
So if they click unfilter it should resend the querystring with the omission of whatever they have 'unfiltered' ???
Oops. Sorry, that won't do what you want. To show the new URL in the address bar with Response.Redirect, you need to redirect to the FULL path: <% Response.Redirect "http://www.yourdomain.com/search.asp?id=firms&dated=today" %>