I have used response.redirect in classic ASP and ASP.NET webforms. However, with MVC 2.0, I am running into something peculiar.
I have a private method in a contr
its recommended and its the only way to redirect to asp.net form in mvc controller action by using
return Redirect("/page/pagename.aspx");
other way we can redirect by using ( not recommended and bad way )
Response.Redirect("/page/pagename.aspx", true);
it will work for redirect, but problem is it will clear all of our Session values. so why its not recommended.