Date:  04/15/2006 04:35:29 PM Msg ID:  002923
From:  FoxWeb Support Thread:  002918
Subject:  Re: Remove QueryString
First let me make sure that we are talking about the same thing:  I assume that the "?=" syntax refers to the Query String portion of the URL.  Also, I assume that by "reload the page" you are referring to the Web browser's Reload, or Refresh button (or the equivalent function called from the menu, or by pressing Ctrl-R).  If the above assumptions are incorrect, please clarify.
 
All modern browsers make the exact same request as before when you press the Refresh button.  This means that there's no way to "remove" a query string variable.  However, there's a work-around:
 
Whenever your called script receives a request with the query string variable in question, store the fact that this has occurred in a session variable.  On all subsequent requests, even if the same query string variable is included in the URL, you will be able to ignore it, because the session variable will indicate that you have already performed the associated function in a previous request.
 
Another possibility would be for your script to issue a Response.Redirect to itself, with the original query string, minus the variable you don't want to see again.

FoxWeb Support Team
support@foxweb.com email

Sent by Joe Goldsmith on 04/13/2006 09:15:07 PM:
I have one script that calls another script passing a parameter using the ?= syntax. Once the called script gets the parameter I want to remove the instance of that, and only that, QueryString parameter so that when I reload the page it no longer responds to the passed variable. Anyone have an ides how to do that please?
 
Joe