rajesh yadav

rajesh yadav

  • 1.6k
  • 82
  • 8.7k

can i prefix something to Response.Redirect

Apr 30 2020 8:42 AM

hi,

I have used Response.Redirect("~/abc.aspx");

now i want to add "kkk" like so

Response.Redirect("~/kkk/abc.aspx");

to do this i have to change every where in may applicaiton ( webform with mvc) it has many other pages in redirect .

so is there any way that i do it at one place, be it a handler or module or routing etc etc.


Answers (4)