I want to add Params in current request in OnActionExecuting() filter i tried this
filterContext.HttpContext.Request.Params.Add("mid", "amogh");
It gives error that says this is read only.
I also want to access this added Params in next request.can i access this Params by using filterContext.RequestContext.HttpContext.Request.UrlReferrer object.
I believe you can use the
ActionParametersproperty (see ActionExecutingContext.ActionParameters) – this allows you to see or change the parameters that will be passed to the action method.