Remove QueryString parameter from url on OnActionExecuting()

7331

New Member
In Asp.Net MVC OnActionExecuting(filterContext) I'd like to grab the url from the filterContext and remove one querystring parameter before redirecting to the same url without the parameter. I'd like to preserve all other aspects of the original url like any port number, other querystring parameters, protocol, etc. Is there an easy way to do this?
 
Back
Top