In my base page I need to remove an item from the query string and redirect. I can’t use
Request.QueryString.Remove('foo')
because the collection is read-only. Is there any way to get the query string (except for that one item) without iterating through the collection and re-building it?
You’d have to reconstruct the url and then redirect. Something like this:
Anyway, I didn’t test that or anything, but it should work (or at least get you in thye right direction)