The best way to accomplish this in ASP.Net MVC is to use AuthorizeAttribute action filter. Derive your class from AuthorizeAttribute class and overrides the OnAuthorization() method to implement the redirection logic. See the code below.
Sunday, January 31, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment