Request.QueryString Clear
-
Can any1 help...im trying to clear a Request.QueryString["Value"]...i have tried Request.QueryString["Value"].remove(0) and Request.QueryString.clear() and to no success...plz help
living life on the flip side
-
Why do you want to clear QueryString? If you don't want user to view it and want to pass thing to other page. use session variable.
Ahsan Ullah Senior Software Engineer
-
im using the querystring for loading data..querystring value loads a contact treeview...wen i click new all must be loaded again but with no values...so querystring must be cleared?
living life on the flip side
-
Can any1 help...im trying to clear a Request.QueryString["Value"]...i have tried Request.QueryString["Value"].remove(0) and Request.QueryString.clear() and to no success...plz help
living life on the flip side
How about this? int indx = Request.Url.OriginalString.IndexOf("?"); if(indx > -1) Response.Redirect(Request.Url.OriginalString.Substring(0,indx));
Jim