In a Action, I am calling
RedirectToAction("login", new { test = "1" });
And the page doesn't seem to be redirecting. The action "login" is in the same controller.
What could the issue be?
You should use
return RedirectToAction(...
RedirectToAction(... will not work if you are using AJAX form. ajax request simply ignore the redirect call
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With