How to avoid a redirect loop in ASP.NET MVC

Posted by JoelFan on Stack Overflow See other posts from Stack Overflow or by JoelFan
Published on 2010-01-21T19:46:06Z Indexed on 2010/06/11 7:32 UTC
Read the original article Hit count: 264

In certain error conditions I would like to redirect to the Home controller but I want to make sure that I don't get into a "redirect" loop (with an exception being generated each time resulting in yet another redirect). What is the best way to do this?

© Stack Overflow or respective owner

Related posts about asp.net-mvc

Related posts about redirect